diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-04-24 00:50:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-08-13 09:58:02 +0100 |
commit | 1ccd269a3f33684bfbedcd94ad9bca56b1404143 (patch) | |
tree | 0563b9114a6ddd752142232e0ae55f3e75816a90 /src/cairo-types-private.h | |
parent | e849e7c9291d57c3749f499c7e410e7be452b455 (diff) | |
download | cairo-1ccd269a3f33684bfbedcd94ad9bca56b1404143.tar.gz |
skia: Update to use cairo_backend_t interface
Still hopelessly broken. Requires compiling cairo to use static linking
and then still requires manual linkage to workaround libtool. Lots of
functionality is still absent - we need to either find analogues to some
Cairo operations or implement fallbacks - but it is sufficient to
investigate how Skia functions in direct comparison with Cairo for
tessellation/rasterisation.
Caveat emptor.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r-- | src/cairo-types-private.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h index b1b0db3a8..4933cf260 100644 --- a/src/cairo-types-private.h +++ b/src/cairo-types-private.h @@ -44,6 +44,8 @@ #include "cairo-list-private.h" #include "cairo-reference-count-private.h" +CAIRO_BEGIN_DECLS + /** * SECTION:cairo-types * @Title: Types @@ -225,12 +227,6 @@ typedef enum _cairo_paginated_mode { CAIRO_PAGINATED_MODE_FALLBACK /* paint fallback images */ } cairo_paginated_mode_t; -/* Sure wish C had a real enum type so that this would be distinct - * from #cairo_status_t. Oh well, without that, I'll use this bogus 100 - * offset. We want to keep it fit in int8_t as the compiler may choose - * that for #cairo_status_t */ -typedef enum _cairo_int_status cairo_int_status_t; - typedef enum _cairo_internal_surface_type { CAIRO_INTERNAL_SURFACE_TYPE_SNAPSHOT = 0x1000, CAIRO_INTERNAL_SURFACE_TYPE_PAGINATED, @@ -419,4 +415,7 @@ typedef struct _cairo_scaled_glyph { void *surface_private; /* for the surface backend */ } cairo_scaled_glyph_t; + +CAIRO_END_DECLS + #endif /* CAIRO_TYPES_PRIVATE_H */ |