summaryrefslogtreecommitdiff
path: root/src/cairo.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-26 12:54:25 +0200
committerBenjamin Otte <otte@redhat.com>2010-08-26 12:55:39 +0200
commite79acf47a57b60c83d1f9491aac354161986b29b (patch)
treef0a83e3aafea9cba1127f1f0021c350544af4e63 /src/cairo.h
parent40459dacb52587cc784faf2635e54797d3989408 (diff)
subsurface: Make CAIRO_SURFACE_TYPE_SUBSURFACE public
Diffstat (limited to 'src/cairo.h')
-rw-r--r--src/cairo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cairo.h b/src/cairo.h
index bc698a28..fd95c4d0 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -1963,6 +1963,8 @@ cairo_device_reference (cairo_device_t *device);
* @CAIRO_DEVICE_TYPE_DRM: The surface is of type Direct Render Manager
* @CAIRO_DEVICE_TYPE_XML: The surface is of type XML
* @CAIRO_DEVICE_TYPE_SKIA: The surface is of type Skia
+ * @CAIRO_DEVICE_TYPE_SUBSURFACE: The surface is a subsurface created with
+ * cairo_surface_create_for_rectangle()
*
* #cairo_device_type_t is used to describe the type of a given
* device. The devices types are also known as "backends" within cairo.
@@ -2100,6 +2102,8 @@ cairo_surface_status (cairo_surface_t *surface);
* @CAIRO_SURFACE_TYPE_TEE: The surface is of type 'tee' (a multiplexing surface), since 1.10
* @CAIRO_SURFACE_TYPE_XML: The surface is of type XML (for debugging), since 1.10
* @CAIRO_SURFACE_TYPE_SKIA: The surface is of type Skia, since 1.10
+ * @CAIRO_SURFACE_TYPE_SUBSURFACE: The surface is a subsurface created with
+ * cairo_surface_create_for_rectangle(), since 1.10
*
* #cairo_surface_type_t is used to describe the type of a given
* surface. The surface types are also known as "backends" or "surface
@@ -2147,7 +2151,8 @@ typedef enum _cairo_surface_type {
CAIRO_SURFACE_TYPE_DRM,
CAIRO_SURFACE_TYPE_TEE,
CAIRO_SURFACE_TYPE_XML,
- CAIRO_SURFACE_TYPE_SKIA
+ CAIRO_SURFACE_TYPE_SKIA,
+ CAIRO_SURFACE_TYPE_SUBSURFACE
} cairo_surface_type_t;
cairo_public cairo_surface_type_t