summaryrefslogtreecommitdiff
path: root/src/cairo-private.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-04-26 12:38:06 +0000
committerCarl Worth <cworth@cworth.org>2005-04-26 12:38:06 +0000
commit1baa4d132903e21395dc66ca792164e2ef8885d2 (patch)
tree4b95e9a13ee0b7bcab4a9f22d919e493376d16eb /src/cairo-private.h
parent618792c8c041ee2004acf1ff411e0adbe94a3e63 (diff)
Originally: 2005-04-19 Carl Worth <cworth@cworth.org>
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.
Diffstat (limited to 'src/cairo-private.h')
-rw-r--r--src/cairo-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-private.h b/src/cairo-private.h
index e125a4b1..a43c8ef7 100644
--- a/src/cairo-private.h
+++ b/src/cairo-private.h
@@ -37,10 +37,14 @@
#define CAIRO_PRIVATE_H
#include "cairo-gstate-private.h"
+#include "cairo-path-fixed-private.h"
struct _cairo {
unsigned int ref_count;
+
cairo_gstate_t *gstate;
+ cairo_path_fixed_t path;
+
cairo_status_t status;
};