[cairo-commit] src/cairo-ps-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Sun Feb 7 12:27:10 PST 2010
src/cairo-ps-surface.c | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit a1e5b07fa834819b8d9df9fa56758639a08262d7
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Feb 7 20:26:27 2010 +0000
ps: Initialise page bbox to page size
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index 5fa4fd7..e7e118f 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -955,6 +955,11 @@ _cairo_ps_surface_create_for_stream_internal (cairo_output_stream_t *stream,
surface->use_string_datasource = FALSE;
surface->current_pattern_is_solid_color = FALSE;
+ surface->page_bbox.x = 0;
+ surface->page_bbox.y = 0;
+ surface->page_bbox.width = width;
+ surface->page_bbox.height = height;
+
_cairo_surface_clipper_init (&surface->clipper,
_cairo_ps_surface_clipper_intersect_clip_path);
More information about the cairo-commit
mailing list