[cairo-commit] boilerplate/cairo-boilerplate-win32-printing.c boilerplate/cairo-boilerplate-win32-private.h

Chris Wilson ickle at kemper.freedesktop.org
Thu Aug 14 03:59:47 PDT 2008


 boilerplate/cairo-boilerplate-win32-printing.c |    3 +++
 boilerplate/cairo-boilerplate-win32-private.h  |   13 ++++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

New commits:
commit 7a0f29d2f35e31ad30f7dc67ec3e5c3ee06fec53
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Aug 14 11:57:36 2008 +0100

    [test] Update prototype of win32-printing create_surface()
    
    Missed the recent addition of the win32-printing surface to boilerplate.

diff --git a/boilerplate/cairo-boilerplate-win32-printing.c b/boilerplate/cairo-boilerplate-win32-printing.c
index 694ba9e..617b087 100644
--- a/boilerplate/cairo-boilerplate-win32-printing.c
+++ b/boilerplate/cairo-boilerplate-win32-printing.c
@@ -166,7 +166,10 @@ _cairo_boilerplate_win32_printing_create_surface (const char              *name,
 						  cairo_content_t          content,
 						  int                      width,
 						  int                      height,
+						  int                      max_width,
+						  int                      max_height,
 						  cairo_boilerplate_mode_t mode,
+						  int                      id,
 						  void                   **closure)
 {
     win32_target_closure_t *ptc;
diff --git a/boilerplate/cairo-boilerplate-win32-private.h b/boilerplate/cairo-boilerplate-win32-private.h
index 26f4b62..b982b2a 100644
--- a/boilerplate/cairo-boilerplate-win32-private.h
+++ b/boilerplate/cairo-boilerplate-win32-private.h
@@ -39,12 +39,15 @@ _cairo_boilerplate_win32_create_surface (const char			 *name,
 					 void				**closure);
 
 cairo_surface_t *
-_cairo_boilerplate_win32_printing_create_surface (const char 		  *name,
-						  cairo_content_t 	   content,
-						  int 			   width,
-						  int 			   height,
+_cairo_boilerplate_win32_printing_create_surface (const char		  *name,
+						  cairo_content_t	   content,
+						  int			   width,
+						  int			   height,
+						  int			   max_width,
+						  int			   max_height,
 						  cairo_boilerplate_mode_t mode,
-						  void 			 **closure);
+						  int			   id,
+						  void			 **closure);
 
 void
 _cairo_boilerplate_win32_printing_cleanup (void *closure);


More information about the cairo-commit mailing list