1

            
2
/* Generated data (by glib-mkenums) */
3

            
4
#include "config.h"
5

            
6
#include "cairo-gobject.h"
7

            
8
GType
9
cairo_gobject_status_get_type (void)
10
{
11
   static gsize type_ret = 0;
12
   if (g_once_init_enter (&type_ret)) {
13
      static const GEnumValue values[] = {
14
          { CAIRO_STATUS_SUCCESS, "CAIRO_STATUS_SUCCESS", "success" },
15
          { CAIRO_STATUS_NO_MEMORY, "CAIRO_STATUS_NO_MEMORY", "no-memory" },
16
          { CAIRO_STATUS_INVALID_RESTORE, "CAIRO_STATUS_INVALID_RESTORE", "invalid-restore" },
17
          { CAIRO_STATUS_INVALID_POP_GROUP, "CAIRO_STATUS_INVALID_POP_GROUP", "invalid-pop-group" },
18
          { CAIRO_STATUS_NO_CURRENT_POINT, "CAIRO_STATUS_NO_CURRENT_POINT", "no-current-point" },
19
          { CAIRO_STATUS_INVALID_MATRIX, "CAIRO_STATUS_INVALID_MATRIX", "invalid-matrix" },
20
          { CAIRO_STATUS_INVALID_STATUS, "CAIRO_STATUS_INVALID_STATUS", "invalid-status" },
21
          { CAIRO_STATUS_NULL_POINTER, "CAIRO_STATUS_NULL_POINTER", "null-pointer" },
22
          { CAIRO_STATUS_INVALID_STRING, "CAIRO_STATUS_INVALID_STRING", "invalid-string" },
23
          { CAIRO_STATUS_INVALID_PATH_DATA, "CAIRO_STATUS_INVALID_PATH_DATA", "invalid-path-data" },
24
          { CAIRO_STATUS_READ_ERROR, "CAIRO_STATUS_READ_ERROR", "read-error" },
25
          { CAIRO_STATUS_WRITE_ERROR, "CAIRO_STATUS_WRITE_ERROR", "write-error" },
26
          { CAIRO_STATUS_SURFACE_FINISHED, "CAIRO_STATUS_SURFACE_FINISHED", "surface-finished" },
27
          { CAIRO_STATUS_SURFACE_TYPE_MISMATCH, "CAIRO_STATUS_SURFACE_TYPE_MISMATCH", "surface-type-mismatch" },
28
          { CAIRO_STATUS_PATTERN_TYPE_MISMATCH, "CAIRO_STATUS_PATTERN_TYPE_MISMATCH", "pattern-type-mismatch" },
29
          { CAIRO_STATUS_INVALID_CONTENT, "CAIRO_STATUS_INVALID_CONTENT", "invalid-content" },
30
          { CAIRO_STATUS_INVALID_FORMAT, "CAIRO_STATUS_INVALID_FORMAT", "invalid-format" },
31
          { CAIRO_STATUS_INVALID_VISUAL, "CAIRO_STATUS_INVALID_VISUAL", "invalid-visual" },
32
          { CAIRO_STATUS_FILE_NOT_FOUND, "CAIRO_STATUS_FILE_NOT_FOUND", "file-not-found" },
33
          { CAIRO_STATUS_INVALID_DASH, "CAIRO_STATUS_INVALID_DASH", "invalid-dash" },
34
          { CAIRO_STATUS_INVALID_DSC_COMMENT, "CAIRO_STATUS_INVALID_DSC_COMMENT", "invalid-dsc-comment" },
35
          { CAIRO_STATUS_INVALID_INDEX, "CAIRO_STATUS_INVALID_INDEX", "invalid-index" },
36
          { CAIRO_STATUS_CLIP_NOT_REPRESENTABLE, "CAIRO_STATUS_CLIP_NOT_REPRESENTABLE", "clip-not-representable" },
37
          { CAIRO_STATUS_TEMP_FILE_ERROR, "CAIRO_STATUS_TEMP_FILE_ERROR", "temp-file-error" },
38
          { CAIRO_STATUS_INVALID_STRIDE, "CAIRO_STATUS_INVALID_STRIDE", "invalid-stride" },
39
          { CAIRO_STATUS_FONT_TYPE_MISMATCH, "CAIRO_STATUS_FONT_TYPE_MISMATCH", "font-type-mismatch" },
40
          { CAIRO_STATUS_USER_FONT_IMMUTABLE, "CAIRO_STATUS_USER_FONT_IMMUTABLE", "user-font-immutable" },
41
          { CAIRO_STATUS_USER_FONT_ERROR, "CAIRO_STATUS_USER_FONT_ERROR", "user-font-error" },
42
          { CAIRO_STATUS_NEGATIVE_COUNT, "CAIRO_STATUS_NEGATIVE_COUNT", "negative-count" },
43
          { CAIRO_STATUS_INVALID_CLUSTERS, "CAIRO_STATUS_INVALID_CLUSTERS", "invalid-clusters" },
44
          { CAIRO_STATUS_INVALID_SLANT, "CAIRO_STATUS_INVALID_SLANT", "invalid-slant" },
45
          { CAIRO_STATUS_INVALID_WEIGHT, "CAIRO_STATUS_INVALID_WEIGHT", "invalid-weight" },
46
          { CAIRO_STATUS_INVALID_SIZE, "CAIRO_STATUS_INVALID_SIZE", "invalid-size" },
47
          { CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED, "CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED", "user-font-not-implemented" },
48
          { CAIRO_STATUS_DEVICE_TYPE_MISMATCH, "CAIRO_STATUS_DEVICE_TYPE_MISMATCH", "device-type-mismatch" },
49
          { CAIRO_STATUS_DEVICE_ERROR, "CAIRO_STATUS_DEVICE_ERROR", "device-error" },
50
          { CAIRO_STATUS_INVALID_MESH_CONSTRUCTION, "CAIRO_STATUS_INVALID_MESH_CONSTRUCTION", "invalid-mesh-construction" },
51
	  { CAIRO_STATUS_DEVICE_FINISHED, "CAIRO_STATUS_DEVICE_FINISHED", "device-finished" },
52
	  { CAIRO_STATUS_JBIG2_GLOBAL_MISSING, "CAIRO_STATUS_JBIG2_GLOBAL_MISSING", "jbig2-global_missing" },
53
	  { CAIRO_STATUS_PNG_ERROR, "CAIRO_STATUS_PNG_ERROR", "png-error" },
54
	  { CAIRO_STATUS_FREETYPE_ERROR, "CAIRO_STATUS_FREETYPE_ERROR", "freetype-error" },
55
	  { CAIRO_STATUS_LAST_STATUS, "CAIRO_STATUS_LAST_STATUS", "last-status" },
56
	  { CAIRO_STATUS_WIN32_GDI_ERROR, "CAIRO_STATUS_WIN32_GDI_ERROR", "win32-gdi-error" },
57
          { 0, NULL, NULL }
58
      };
59
      GType type = g_enum_register_static (g_intern_static_string ("cairo_status_t"), values);
60

            
61
      g_once_init_leave (&type_ret, type);
62
   }
63
   return type_ret;
64
}
65

            
66
GType
67
cairo_gobject_content_get_type (void)
68
{
69
   static gsize type_ret = 0;
70
   if (g_once_init_enter (&type_ret)) {
71
      static const GEnumValue values[] = {
72
          { CAIRO_CONTENT_COLOR, "CAIRO_CONTENT_COLOR", "color" },
73
          { CAIRO_CONTENT_ALPHA, "CAIRO_CONTENT_ALPHA", "alpha" },
74
          { CAIRO_CONTENT_COLOR_ALPHA, "CAIRO_CONTENT_COLOR_ALPHA", "color-alpha" },
75
          { 0, NULL, NULL }
76
      };
77
      GType type = g_enum_register_static (g_intern_static_string ("cairo_content_t"), values);
78

            
79
      g_once_init_leave (&type_ret, type);
80
   }
81
   return type_ret;
82
}
83

            
84
GType
85
cairo_gobject_operator_get_type (void)
86
{
87
   static gsize type_ret = 0;
88
   if (g_once_init_enter (&type_ret)) {
89
      static const GEnumValue values[] = {
90
          { CAIRO_OPERATOR_CLEAR, "CAIRO_OPERATOR_CLEAR", "clear" },
91
          { CAIRO_OPERATOR_SOURCE, "CAIRO_OPERATOR_SOURCE", "source" },
92
          { CAIRO_OPERATOR_OVER, "CAIRO_OPERATOR_OVER", "over" },
93
          { CAIRO_OPERATOR_IN, "CAIRO_OPERATOR_IN", "in" },
94
          { CAIRO_OPERATOR_OUT, "CAIRO_OPERATOR_OUT", "out" },
95
          { CAIRO_OPERATOR_ATOP, "CAIRO_OPERATOR_ATOP", "atop" },
96
          { CAIRO_OPERATOR_DEST, "CAIRO_OPERATOR_DEST", "dest" },
97
          { CAIRO_OPERATOR_DEST_OVER, "CAIRO_OPERATOR_DEST_OVER", "dest-over" },
98
          { CAIRO_OPERATOR_DEST_IN, "CAIRO_OPERATOR_DEST_IN", "dest-in" },
99
          { CAIRO_OPERATOR_DEST_OUT, "CAIRO_OPERATOR_DEST_OUT", "dest-out" },
100
          { CAIRO_OPERATOR_DEST_ATOP, "CAIRO_OPERATOR_DEST_ATOP", "dest-atop" },
101
          { CAIRO_OPERATOR_XOR, "CAIRO_OPERATOR_XOR", "xor" },
102
          { CAIRO_OPERATOR_ADD, "CAIRO_OPERATOR_ADD", "add" },
103
          { CAIRO_OPERATOR_SATURATE, "CAIRO_OPERATOR_SATURATE", "saturate" },
104
          { CAIRO_OPERATOR_MULTIPLY, "CAIRO_OPERATOR_MULTIPLY", "multiply" },
105
          { CAIRO_OPERATOR_SCREEN, "CAIRO_OPERATOR_SCREEN", "screen" },
106
          { CAIRO_OPERATOR_OVERLAY, "CAIRO_OPERATOR_OVERLAY", "overlay" },
107
          { CAIRO_OPERATOR_DARKEN, "CAIRO_OPERATOR_DARKEN", "darken" },
108
          { CAIRO_OPERATOR_LIGHTEN, "CAIRO_OPERATOR_LIGHTEN", "lighten" },
109
          { CAIRO_OPERATOR_COLOR_DODGE, "CAIRO_OPERATOR_COLOR_DODGE", "color-dodge" },
110
          { CAIRO_OPERATOR_COLOR_BURN, "CAIRO_OPERATOR_COLOR_BURN", "color-burn" },
111
          { CAIRO_OPERATOR_HARD_LIGHT, "CAIRO_OPERATOR_HARD_LIGHT", "hard-light" },
112
          { CAIRO_OPERATOR_SOFT_LIGHT, "CAIRO_OPERATOR_SOFT_LIGHT", "soft-light" },
113
          { CAIRO_OPERATOR_DIFFERENCE, "CAIRO_OPERATOR_DIFFERENCE", "difference" },
114
          { CAIRO_OPERATOR_EXCLUSION, "CAIRO_OPERATOR_EXCLUSION", "exclusion" },
115
          { CAIRO_OPERATOR_HSL_HUE, "CAIRO_OPERATOR_HSL_HUE", "hsl-hue" },
116
          { CAIRO_OPERATOR_HSL_SATURATION, "CAIRO_OPERATOR_HSL_SATURATION", "hsl-saturation" },
117
          { CAIRO_OPERATOR_HSL_COLOR, "CAIRO_OPERATOR_HSL_COLOR", "hsl-color" },
118
          { CAIRO_OPERATOR_HSL_LUMINOSITY, "CAIRO_OPERATOR_HSL_LUMINOSITY", "hsl-luminosity" },
119
          { 0, NULL, NULL }
120
      };
121
      GType type = g_enum_register_static (g_intern_static_string ("cairo_operator_t"), values);
122

            
123
      g_once_init_leave (&type_ret, type);
124
   }
125
   return type_ret;
126
}
127

            
128
GType
129
cairo_gobject_antialias_get_type (void)
130
{
131
   static gsize type_ret = 0;
132
   if (g_once_init_enter (&type_ret)) {
133
      static const GEnumValue values[] = {
134
          { CAIRO_ANTIALIAS_DEFAULT, "CAIRO_ANTIALIAS_DEFAULT", "default" },
135

            
136
          { CAIRO_ANTIALIAS_NONE, "CAIRO_ANTIALIAS_NONE", "none" },
137
          { CAIRO_ANTIALIAS_GRAY, "CAIRO_ANTIALIAS_GRAY", "gray" },
138
          { CAIRO_ANTIALIAS_SUBPIXEL, "CAIRO_ANTIALIAS_SUBPIXEL", "subpixel" },
139

            
140
          { CAIRO_ANTIALIAS_FAST, "CAIRO_ANTIALIAS_FAST", "fast" },
141
          { CAIRO_ANTIALIAS_GOOD, "CAIRO_ANTIALIAS_GOOD", "good" },
142
          { CAIRO_ANTIALIAS_BEST, "CAIRO_ANTIALIAS_BEST", "best" },
143

            
144
          { 0, NULL, NULL }
145
      };
146
      GType type = g_enum_register_static (g_intern_static_string ("cairo_antialias_t"), values);
147

            
148
      g_once_init_leave (&type_ret, type);
149
   }
150
   return type_ret;
151
}
152

            
153
GType
154
cairo_gobject_fill_rule_get_type (void)
155
{
156
   static gsize type_ret = 0;
157
   if (g_once_init_enter (&type_ret)) {
158
      static const GEnumValue values[] = {
159
          { CAIRO_FILL_RULE_WINDING, "CAIRO_FILL_RULE_WINDING", "winding" },
160
          { CAIRO_FILL_RULE_EVEN_ODD, "CAIRO_FILL_RULE_EVEN_ODD", "even-odd" },
161
          { 0, NULL, NULL }
162
      };
163
      GType type = g_enum_register_static (g_intern_static_string ("cairo_fill_rule_t"), values);
164

            
165
      g_once_init_leave (&type_ret, type);
166
   }
167
   return type_ret;
168
}
169

            
170
GType
171
cairo_gobject_line_cap_get_type (void)
172
{
173
   static gsize type_ret = 0;
174
   if (g_once_init_enter (&type_ret)) {
175
      static const GEnumValue values[] = {
176
          { CAIRO_LINE_CAP_BUTT, "CAIRO_LINE_CAP_BUTT", "butt" },
177
          { CAIRO_LINE_CAP_ROUND, "CAIRO_LINE_CAP_ROUND", "round" },
178
          { CAIRO_LINE_CAP_SQUARE, "CAIRO_LINE_CAP_SQUARE", "square" },
179
          { 0, NULL, NULL }
180
      };
181
      GType type = g_enum_register_static (g_intern_static_string ("cairo_line_cap_t"), values);
182

            
183
      g_once_init_leave (&type_ret, type);
184
   }
185
   return type_ret;
186
}
187

            
188
GType
189
cairo_gobject_line_join_get_type (void)
190
{
191
   static gsize type_ret = 0;
192
   if (g_once_init_enter (&type_ret)) {
193
      static const GEnumValue values[] = {
194
          { CAIRO_LINE_JOIN_MITER, "CAIRO_LINE_JOIN_MITER", "miter" },
195
          { CAIRO_LINE_JOIN_ROUND, "CAIRO_LINE_JOIN_ROUND", "round" },
196
          { CAIRO_LINE_JOIN_BEVEL, "CAIRO_LINE_JOIN_BEVEL", "bevel" },
197
          { 0, NULL, NULL }
198
      };
199
      GType type = g_enum_register_static (g_intern_static_string ("cairo_line_join_t"), values);
200

            
201
      g_once_init_leave (&type_ret, type);
202
   }
203
   return type_ret;
204
}
205

            
206
GType
207
cairo_gobject_text_cluster_flags_get_type (void)
208
{
209
   static gsize type_ret = 0;
210
   if (g_once_init_enter (&type_ret)) {
211
      static const GEnumValue values[] = {
212
          { CAIRO_TEXT_CLUSTER_FLAG_BACKWARD, "CAIRO_TEXT_CLUSTER_FLAG_BACKWARD", "backward" },
213
          { 0, NULL, NULL }
214
      };
215
      GType type = g_enum_register_static (g_intern_static_string ("cairo_text_cluster_flags_t"), values);
216

            
217
      g_once_init_leave (&type_ret, type);
218
   }
219
   return type_ret;
220
}
221

            
222
GType
223
cairo_gobject_font_slant_get_type (void)
224
{
225
   static gsize type_ret = 0;
226
   if (g_once_init_enter (&type_ret)) {
227
      static const GEnumValue values[] = {
228
          { CAIRO_FONT_SLANT_NORMAL, "CAIRO_FONT_SLANT_NORMAL", "normal" },
229
          { CAIRO_FONT_SLANT_ITALIC, "CAIRO_FONT_SLANT_ITALIC", "italic" },
230
          { CAIRO_FONT_SLANT_OBLIQUE, "CAIRO_FONT_SLANT_OBLIQUE", "oblique" },
231
          { 0, NULL, NULL }
232
      };
233
      GType type = g_enum_register_static (g_intern_static_string ("cairo_font_slant_t"), values);
234

            
235
      g_once_init_leave (&type_ret, type);
236
   }
237
   return type_ret;
238
}
239

            
240
GType
241
cairo_gobject_font_weight_get_type (void)
242
{
243
   static gsize type_ret = 0;
244
   if (g_once_init_enter (&type_ret)) {
245
      static const GEnumValue values[] = {
246
          { CAIRO_FONT_WEIGHT_NORMAL, "CAIRO_FONT_WEIGHT_NORMAL", "normal" },
247
          { CAIRO_FONT_WEIGHT_BOLD, "CAIRO_FONT_WEIGHT_BOLD", "bold" },
248
          { 0, NULL, NULL }
249
      };
250
      GType type = g_enum_register_static (g_intern_static_string ("cairo_font_weight_t"), values);
251

            
252
      g_once_init_leave (&type_ret, type);
253
   }
254
   return type_ret;
255
}
256

            
257
GType
258
cairo_gobject_subpixel_order_get_type (void)
259
{
260
   static gsize type_ret = 0;
261
   if (g_once_init_enter (&type_ret)) {
262
      static const GEnumValue values[] = {
263
          { CAIRO_SUBPIXEL_ORDER_DEFAULT, "CAIRO_SUBPIXEL_ORDER_DEFAULT", "default" },
264
          { CAIRO_SUBPIXEL_ORDER_RGB, "CAIRO_SUBPIXEL_ORDER_RGB", "rgb" },
265
          { CAIRO_SUBPIXEL_ORDER_BGR, "CAIRO_SUBPIXEL_ORDER_BGR", "bgr" },
266
          { CAIRO_SUBPIXEL_ORDER_VRGB, "CAIRO_SUBPIXEL_ORDER_VRGB", "vrgb" },
267
          { CAIRO_SUBPIXEL_ORDER_VBGR, "CAIRO_SUBPIXEL_ORDER_VBGR", "vbgr" },
268
          { 0, NULL, NULL }
269
      };
270
      GType type = g_enum_register_static (g_intern_static_string ("cairo_subpixel_order_t"), values);
271

            
272
      g_once_init_leave (&type_ret, type);
273
   }
274
   return type_ret;
275
}
276

            
277
GType
278
cairo_gobject_hint_style_get_type (void)
279
{
280
   static gsize type_ret = 0;
281
   if (g_once_init_enter (&type_ret)) {
282
      static const GEnumValue values[] = {
283
          { CAIRO_HINT_STYLE_DEFAULT, "CAIRO_HINT_STYLE_DEFAULT", "default" },
284
          { CAIRO_HINT_STYLE_NONE, "CAIRO_HINT_STYLE_NONE", "none" },
285
          { CAIRO_HINT_STYLE_SLIGHT, "CAIRO_HINT_STYLE_SLIGHT", "slight" },
286
          { CAIRO_HINT_STYLE_MEDIUM, "CAIRO_HINT_STYLE_MEDIUM", "medium" },
287
          { CAIRO_HINT_STYLE_FULL, "CAIRO_HINT_STYLE_FULL", "full" },
288
          { 0, NULL, NULL }
289
      };
290
      GType type = g_enum_register_static (g_intern_static_string ("cairo_hint_style_t"), values);
291

            
292
      g_once_init_leave (&type_ret, type);
293
   }
294
   return type_ret;
295
}
296

            
297
GType
298
cairo_gobject_hint_metrics_get_type (void)
299
{
300
   static gsize type_ret = 0;
301
   if (g_once_init_enter (&type_ret)) {
302
      static const GEnumValue values[] = {
303
          { CAIRO_HINT_METRICS_DEFAULT, "CAIRO_HINT_METRICS_DEFAULT", "default" },
304
          { CAIRO_HINT_METRICS_OFF, "CAIRO_HINT_METRICS_OFF", "off" },
305
          { CAIRO_HINT_METRICS_ON, "CAIRO_HINT_METRICS_ON", "on" },
306
          { 0, NULL, NULL }
307
      };
308
      GType type = g_enum_register_static (g_intern_static_string ("cairo_hint_metrics_t"), values);
309

            
310
      g_once_init_leave (&type_ret, type);
311
   }
312
   return type_ret;
313
}
314

            
315
GType
316
cairo_gobject_font_type_get_type (void)
317
{
318
   static gsize type_ret = 0;
319
   if (g_once_init_enter (&type_ret)) {
320
      static const GEnumValue values[] = {
321
          { CAIRO_FONT_TYPE_TOY, "CAIRO_FONT_TYPE_TOY", "toy" },
322
          { CAIRO_FONT_TYPE_FT, "CAIRO_FONT_TYPE_FT", "ft" },
323
          { CAIRO_FONT_TYPE_WIN32, "CAIRO_FONT_TYPE_WIN32", "win32" },
324
          { CAIRO_FONT_TYPE_QUARTZ, "CAIRO_FONT_TYPE_QUARTZ", "quartz" },
325
          { CAIRO_FONT_TYPE_USER, "CAIRO_FONT_TYPE_USER", "user" },
326
          { 0, NULL, NULL }
327
      };
328
      GType type = g_enum_register_static (g_intern_static_string ("cairo_font_type_t"), values);
329

            
330
      g_once_init_leave (&type_ret, type);
331
   }
332
   return type_ret;
333
}
334

            
335
GType
336
cairo_gobject_path_data_type_get_type (void)
337
{
338
   static gsize type_ret = 0;
339
   if (g_once_init_enter (&type_ret)) {
340
      static const GEnumValue values[] = {
341
          { CAIRO_PATH_MOVE_TO, "CAIRO_PATH_MOVE_TO", "move-to" },
342
          { CAIRO_PATH_LINE_TO, "CAIRO_PATH_LINE_TO", "line-to" },
343
          { CAIRO_PATH_CURVE_TO, "CAIRO_PATH_CURVE_TO", "curve-to" },
344
          { CAIRO_PATH_CLOSE_PATH, "CAIRO_PATH_CLOSE_PATH", "close-path" },
345
          { 0, NULL, NULL }
346
      };
347
      GType type = g_enum_register_static (g_intern_static_string ("cairo_path_data_type_t"), values);
348

            
349
      g_once_init_leave (&type_ret, type);
350
   }
351
   return type_ret;
352
}
353

            
354
GType
355
cairo_gobject_device_type_get_type (void)
356
{
357
   static gsize type_ret = 0;
358
   if (g_once_init_enter (&type_ret)) {
359
      static const GEnumValue values[] = {
360
          { CAIRO_DEVICE_TYPE_DRM, "CAIRO_DEVICE_TYPE_DRM", "drm" },
361
          { CAIRO_DEVICE_TYPE_GL, "CAIRO_DEVICE_TYPE_GL", "gl" },
362
          { CAIRO_DEVICE_TYPE_SCRIPT, "CAIRO_DEVICE_TYPE_SCRIPT", "script" },
363
          { CAIRO_DEVICE_TYPE_XCB, "CAIRO_DEVICE_TYPE_XCB", "xcb" },
364
          { CAIRO_DEVICE_TYPE_XLIB, "CAIRO_DEVICE_TYPE_XLIB", "xlib" },
365
          { CAIRO_DEVICE_TYPE_XML, "CAIRO_DEVICE_TYPE_XML", "xml" },
366
          { 0, NULL, NULL }
367
      };
368
      GType type = g_enum_register_static (g_intern_static_string ("cairo_device_type_t"), values);
369

            
370
      g_once_init_leave (&type_ret, type);
371
   }
372
   return type_ret;
373
}
374

            
375
GType
376
cairo_gobject_surface_type_get_type (void)
377
{
378
   static gsize type_ret = 0;
379
   if (g_once_init_enter (&type_ret)) {
380
      static const GEnumValue values[] = {
381
          { CAIRO_SURFACE_TYPE_IMAGE, "CAIRO_SURFACE_TYPE_IMAGE", "image" },
382
          { CAIRO_SURFACE_TYPE_PDF, "CAIRO_SURFACE_TYPE_PDF", "pdf" },
383
          { CAIRO_SURFACE_TYPE_PS, "CAIRO_SURFACE_TYPE_PS", "ps" },
384
          { CAIRO_SURFACE_TYPE_XLIB, "CAIRO_SURFACE_TYPE_XLIB", "xlib" },
385
          { CAIRO_SURFACE_TYPE_XCB, "CAIRO_SURFACE_TYPE_XCB", "xcb" },
386
          { CAIRO_SURFACE_TYPE_GLITZ, "CAIRO_SURFACE_TYPE_GLITZ", "glitz" },
387
          { CAIRO_SURFACE_TYPE_QUARTZ, "CAIRO_SURFACE_TYPE_QUARTZ", "quartz" },
388
          { CAIRO_SURFACE_TYPE_WIN32, "CAIRO_SURFACE_TYPE_WIN32", "win32" },
389
          { CAIRO_SURFACE_TYPE_BEOS, "CAIRO_SURFACE_TYPE_BEOS", "beos" },
390
          { CAIRO_SURFACE_TYPE_DIRECTFB, "CAIRO_SURFACE_TYPE_DIRECTFB", "directfb" },
391
          { CAIRO_SURFACE_TYPE_SVG, "CAIRO_SURFACE_TYPE_SVG", "svg" },
392
          { CAIRO_SURFACE_TYPE_OS2, "CAIRO_SURFACE_TYPE_OS2", "os2" },
393
          { CAIRO_SURFACE_TYPE_WIN32_PRINTING, "CAIRO_SURFACE_TYPE_WIN32_PRINTING", "win32-printing" },
394
          { CAIRO_SURFACE_TYPE_QUARTZ_IMAGE, "CAIRO_SURFACE_TYPE_QUARTZ_IMAGE", "quartz-image" },
395
          { CAIRO_SURFACE_TYPE_SCRIPT, "CAIRO_SURFACE_TYPE_SCRIPT", "script" },
396
          { CAIRO_SURFACE_TYPE_QT, "CAIRO_SURFACE_TYPE_QT", "qt" },
397
          { CAIRO_SURFACE_TYPE_RECORDING, "CAIRO_SURFACE_TYPE_RECORDING", "recording" },
398
          { CAIRO_SURFACE_TYPE_VG, "CAIRO_SURFACE_TYPE_VG", "vg" },
399
          { CAIRO_SURFACE_TYPE_GL, "CAIRO_SURFACE_TYPE_GL", "gl" },
400
          { CAIRO_SURFACE_TYPE_DRM, "CAIRO_SURFACE_TYPE_DRM", "drm" },
401
          { CAIRO_SURFACE_TYPE_TEE, "CAIRO_SURFACE_TYPE_TEE", "tee" },
402
          { CAIRO_SURFACE_TYPE_XML, "CAIRO_SURFACE_TYPE_XML", "xml" },
403
          { CAIRO_SURFACE_TYPE_SKIA, "CAIRO_SURFACE_TYPE_SKIA", "skia" },
404
          { 0, NULL, NULL }
405
      };
406
      GType type = g_enum_register_static (g_intern_static_string ("cairo_surface_type_t"), values);
407

            
408
      g_once_init_leave (&type_ret, type);
409
   }
410
   return type_ret;
411
}
412

            
413
GType
414
cairo_gobject_format_get_type (void)
415
{
416
   static gsize type_ret = 0;
417
   if (g_once_init_enter (&type_ret)) {
418
      static const GEnumValue values[] = {
419
          { CAIRO_FORMAT_INVALID, "CAIRO_FORMAT_INVALID", "invalid" },
420
          { CAIRO_FORMAT_ARGB32, "CAIRO_FORMAT_ARGB32", "argb32" },
421
          { CAIRO_FORMAT_RGB24, "CAIRO_FORMAT_RGB24", "rgb24" },
422
          { CAIRO_FORMAT_A8, "CAIRO_FORMAT_A8", "a8" },
423
          { CAIRO_FORMAT_A1, "CAIRO_FORMAT_A1", "a1" },
424
          { CAIRO_FORMAT_RGB16_565, "CAIRO_FORMAT_RGB16_565", "rgb16-565" },
425
          { 0, NULL, NULL }
426
      };
427
      GType type = g_enum_register_static (g_intern_static_string ("cairo_format_t"), values);
428

            
429
      g_once_init_leave (&type_ret, type);
430
   }
431
   return type_ret;
432
}
433

            
434
GType
435
cairo_gobject_pattern_type_get_type (void)
436
{
437
   static gsize type_ret = 0;
438
   if (g_once_init_enter (&type_ret)) {
439
      static const GEnumValue values[] = {
440
          { CAIRO_PATTERN_TYPE_SOLID, "CAIRO_PATTERN_TYPE_SOLID", "solid" },
441
          { CAIRO_PATTERN_TYPE_SURFACE, "CAIRO_PATTERN_TYPE_SURFACE", "surface" },
442
          { CAIRO_PATTERN_TYPE_LINEAR, "CAIRO_PATTERN_TYPE_LINEAR", "linear" },
443
          { CAIRO_PATTERN_TYPE_RADIAL, "CAIRO_PATTERN_TYPE_RADIAL", "radial" },
444
          { CAIRO_PATTERN_TYPE_MESH, "CAIRO_PATTERN_TYPE_MESH", "mesh" },
445
          { 0, NULL, NULL }
446
      };
447
      GType type = g_enum_register_static (g_intern_static_string ("cairo_pattern_type_t"), values);
448

            
449
      g_once_init_leave (&type_ret, type);
450
   }
451
   return type_ret;
452
}
453

            
454
GType
455
cairo_gobject_extend_get_type (void)
456
{
457
   static gsize type_ret = 0;
458
   if (g_once_init_enter (&type_ret)) {
459
      static const GEnumValue values[] = {
460
          { CAIRO_EXTEND_NONE, "CAIRO_EXTEND_NONE", "none" },
461
          { CAIRO_EXTEND_REPEAT, "CAIRO_EXTEND_REPEAT", "repeat" },
462
          { CAIRO_EXTEND_REFLECT, "CAIRO_EXTEND_REFLECT", "reflect" },
463
          { CAIRO_EXTEND_PAD, "CAIRO_EXTEND_PAD", "pad" },
464
          { 0, NULL, NULL }
465
      };
466
      GType type = g_enum_register_static (g_intern_static_string ("cairo_extend_t"), values);
467

            
468
      g_once_init_leave (&type_ret, type);
469
   }
470
   return type_ret;
471
}
472

            
473
GType
474
cairo_gobject_filter_get_type (void)
475
{
476
   static gsize type_ret = 0;
477
   if (g_once_init_enter (&type_ret)) {
478
      static const GEnumValue values[] = {
479
          { CAIRO_FILTER_FAST, "CAIRO_FILTER_FAST", "fast" },
480
          { CAIRO_FILTER_GOOD, "CAIRO_FILTER_GOOD", "good" },
481
          { CAIRO_FILTER_BEST, "CAIRO_FILTER_BEST", "best" },
482
          { CAIRO_FILTER_NEAREST, "CAIRO_FILTER_NEAREST", "nearest" },
483
          { CAIRO_FILTER_BILINEAR, "CAIRO_FILTER_BILINEAR", "bilinear" },
484
          { CAIRO_FILTER_GAUSSIAN, "CAIRO_FILTER_GAUSSIAN", "gaussian" },
485
          { 0, NULL, NULL }
486
      };
487
      GType type = g_enum_register_static (g_intern_static_string ("cairo_filter_t"), values);
488

            
489
      g_once_init_leave (&type_ret, type);
490
   }
491
   return type_ret;
492
}
493

            
494
GType
495
cairo_gobject_region_overlap_get_type (void)
496
{
497
   static gsize type_ret = 0;
498
   if (g_once_init_enter (&type_ret)) {
499
      static const GEnumValue values[] = {
500
          { CAIRO_REGION_OVERLAP_IN, "CAIRO_REGION_OVERLAP_IN", "in" },
501
          { CAIRO_REGION_OVERLAP_OUT, "CAIRO_REGION_OVERLAP_OUT", "out" },
502
          { CAIRO_REGION_OVERLAP_PART, "CAIRO_REGION_OVERLAP_PART", "part" },
503
          { 0, NULL, NULL }
504
      };
505
      GType type = g_enum_register_static (g_intern_static_string ("cairo_region_overlap_t"), values);
506

            
507
      g_once_init_leave (&type_ret, type);
508
   }
509
   return type_ret;
510
}
511

            
512

            
513
/* Generated data ends here */
514