summaryrefslogtreecommitdiff
path: root/src/cairo-private.h
AgeCommit message (Collapse)AuthorFilesLines
2011-07-15Implement cairo_backend_tChris Wilson1-9/+16
Allow a backend to completely reimplement the Cairo API as it wants. The goal is to pass operations to the native backends such as Quartz, Direct2D, Qt, Skia, OpenVG with no overhead. And to permit complete logging contexts, and whatever else the imagination holds. Perhaps to experiment with double-paths? Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-27Update FSF addressAndrea Canciani1-1/+1
I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
2009-01-02[cairo] Embed a second gstate.Chris Wilson1-1/+1
Experiment with embedding a second gstate into the initial context to reduce allocations.
2008-06-13[cairo] Cache freed gstates.Chris Wilson1-0/+1
Reduce the malloc pressure from frequent cairo_save()/cairo_restore() by caching the freed gstates in a list on the context.
2007-09-25[cairo-atomic] Rewrite reference counting using atomic ops.Chris Wilson1-1/+2
Introduce an opaque cairo_reference_count_t and define operations on it in terms of atomic ops. Update all users of reference counters to use the new opaque type.
2007-08-23Remove include of cairoint.h from *-private.h header files.Carl Worth1-1/+0
These were recently added, (as part of sparse integration?), but they break boilerplate which reaches into at least cairo-types-private.h and cairo-scaled-font-private.h. But boilerplate cannot see cairoint.h or else it gets the internal sybol renaming, (with the INT_ prefix), and then all the test suite tests refuse to link. If this change reverts some recently-added functionality, (or cleanliness), then we'll just need to find some other way to add that back again without the breakage.
2007-08-22[Makefile.am] Add target sparse to run sparse static source code analyzerBehdad Esfahbod1-0/+1
There are still some bits not quite working.
2007-03-13[cairo_t] Embed a gstate into cairo_tBehdad Esfahbod1-0/+1
So we don't have to malloc the first gstate.
2007-03-13[cairo_t] Make path an array of size oneBehdad Esfahbod1-1/+1
This is more natural since cr->path can be used as if it was a pointer. This means, for example, if we move on to making it a pointer, most of the code using it does not need any change. So we get some level of encapsulation of implementation details, if you prefer the terminology :).
2007-03-13[cairo_t] Move gstate pointer before cairo_path_fixed_t for better cache ↵Behdad Esfahbod1-2/+2
behavior
2007-02-23[core] Add user_data and reference count getters to all objectsVladimir Vukicevic1-0/+2
user_data setters/getters were added to public refcounted objects that were missing them (cairo_t, pattern, scaled_font). Also, a refcount getter (cairo_*_get_reference_count) was added to all public refcounted objects.
2005-06-20Rip out cairo_set_error_notfiy function as it is clear that it is not the ↵Carl Worth1-3/+0
right approach. Remove error-notify test.
2005-06-16Reorder fields of cairo_private_t to match initialization order.Carl Worth1-2/+6
Call error_notify callback if set. (cairo_create): Initialize error_notify callback to NULL. (cairo_set_error_notify): New function to allow the user to set an error notify callback. New cairo_set_error_notify prototye. New test for cairo_set_error_notify.
2005-04-26Originally: 2005-04-19 Carl Worth <cworth@cworth.org>Carl Worth1-0/+4
Add cairo_stroke_preserve, cairo_fill_preserve, and cairo_clip_preserve. Rip the path out of cairo_gstate_t. Add path to cairo_t. Bring in most of the path code that used to live in cairo-gstate.c Move arc generation code into its own file. Accept path+ctm_inverse+tolerance instead of gstate. Absorb flattening and device space->user space conversion that used to be in _cairo_gstate_intepret_path. Prefer cairo_fixed_t parameters over ciaro_point_t for cross-file interfaces. Track changes in _cairo_path_fixed interfaces. Port to use cairo_fill_preserve rather than cairo_save/cairo_restore which no longer work for saving the path. Remove get and set of current point since it is no longer affected by cairo_save and cairo_restore. Add get and set testing for cairo_matrix_t.
2005-03-23Begin the process of breaking up cairoint.h, moving structure definitions of ↵Carl Worth1-0/+47
cairo_t, cairo_gstate_t, and cairo_path_real_t into their own header files. Track changes to header files, reaching into the new private headers where necessary.