summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2006-08-13 05:02:46 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-08-13 05:02:46 -0400
commitfdd7518b8be1975ae8f804eba7cf4738bd957e4a (patch)
tree50912691760019d727ff2c8e583eb66749e285e2 /src
parenta06af40c35ba8b5d9a0688cefc7eb8bd2e31e92d (diff)
Update nil surface structs to the surface struct
Quite a few fields were missing, but all zero, so didn't matter practically, but comments were out of synch.
Diffstat (limited to 'src')
-rw-r--r--src/cairo-surface.c30
1 files changed, 27 insertions, 3 deletions
diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 3fd9176c..0468ca2d 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -63,8 +63,16 @@ const cairo_surface_t _cairo_surface_nil = {
}, /* device_transform_inverse */
0.0, /* x_fallback_resolution */
0.0, /* y_fallback_resolution */
+ NULL, /* clip */
0, /* next_clip_serial */
- 0 /* current_clip_serial */
+ 0, /* current_clip_serial */
+ FALSE, /* is_snapshot */
+ FALSE, /* has_font_options */
+ { CAIRO_ANTIALIAS_DEFAULT,
+ CAIRO_SUBPIXEL_ORDER_DEFAULT,
+ CAIRO_HINT_STYLE_DEFAULT,
+ CAIRO_HINT_METRICS_DEFAULT
+ } /* font_options */
};
const cairo_surface_t _cairo_surface_nil_file_not_found = {
@@ -89,8 +97,16 @@ const cairo_surface_t _cairo_surface_nil_file_not_found = {
}, /* device_transform_inverse */
0.0, /* x_fallback_resolution */
0.0, /* y_fallback_resolution */
+ NULL, /* clip */
0, /* next_clip_serial */
- 0 /* current_clip_serial */
+ 0, /* current_clip_serial */
+ FALSE, /* is_snapshot */
+ FALSE, /* has_font_options */
+ { CAIRO_ANTIALIAS_DEFAULT,
+ CAIRO_SUBPIXEL_ORDER_DEFAULT,
+ CAIRO_HINT_STYLE_DEFAULT,
+ CAIRO_HINT_METRICS_DEFAULT
+ } /* font_options */
};
const cairo_surface_t _cairo_surface_nil_read_error = {
@@ -115,8 +131,16 @@ const cairo_surface_t _cairo_surface_nil_read_error = {
}, /* device_transform_inverse */
0.0, /* x_fallback_resolution */
0.0, /* y_fallback_resolution */
+ NULL, /* clip */
0, /* next_clip_serial */
- 0 /* current_clip_serial */
+ 0, /* current_clip_serial */
+ FALSE, /* is_snapshot */
+ FALSE, /* has_font_options */
+ { CAIRO_ANTIALIAS_DEFAULT,
+ CAIRO_SUBPIXEL_ORDER_DEFAULT,
+ CAIRO_HINT_STYLE_DEFAULT,
+ CAIRO_HINT_METRICS_DEFAULT
+ } /* font_options */
};
static void