diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-25 11:52:01 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-25 12:54:58 +0000 |
commit | 4ac38f7c2bde67cab37805cab8a2effb2a8617e4 (patch) | |
tree | c3667748223f869416610285eaab04421b7038db /src/cairo-path-fixed-private.h | |
parent | 23df74e5ffd6be876f3c19ee9d71683f5a0ed6f4 (diff) |
[fill] Emit rectangles for GdkRegion
Scan the path for a series of consistently wound rectangles.
Diffstat (limited to 'src/cairo-path-fixed-private.h')
-rw-r--r-- | src/cairo-path-fixed-private.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cairo-path-fixed-private.h b/src/cairo-path-fixed-private.h index 43c33c18..c995e2a9 100644 --- a/src/cairo-path-fixed-private.h +++ b/src/cairo-path-fixed-private.h @@ -88,4 +88,21 @@ cairo_private cairo_bool_t _cairo_path_fixed_equal (const cairo_path_fixed_t *a, const cairo_path_fixed_t *b); +typedef struct _cairo_path_fixed_iter { + cairo_path_buf_t *buf; + int n_op; + int n_point; +} cairo_path_fixed_iter_t; + +cairo_private void +_cairo_path_fixed_iter_init (cairo_path_fixed_iter_t *iter, + cairo_path_fixed_t *path); + +cairo_private cairo_bool_t +_cairo_path_fixed_iter_is_box (cairo_path_fixed_iter_t *_iter, + cairo_box_t *box); + +cairo_private cairo_bool_t +_cairo_path_fixed_iter_at_end (const cairo_path_fixed_iter_t *iter); + #endif /* CAIRO_PATH_FIXED_PRIVATE_H */ |