[cairo-commit] cairo-demo/PS basket.c,1.1,1.2

Carl Worth commit at pdx.freedesktop.org
Mon Nov 3 13:36:30 PST 2003


Committed by: cworth

Update of /cvs/cairo/cairo-demo/PS
In directory pdx:/tmp/cvs-serv11450

Modified Files:
	basket.c 
Log Message:
Increased page size and borders so the figure doesn't land in the
unprintable regions near the paper edge.

Index: basket.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/PS/basket.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** basket.c	1 Nov 2003 05:59:13 -0000	1.1
--- basket.c	3 Nov 2003 21:36:28 -0000	1.2
***************
*** 33,38 ****
  draw (cairo_t *cr);
  
! #define WIDTH	520
! #define HEIGHT  170
  #define STRIDE	(WIDTH*4)  
  
--- 33,38 ----
  draw (cairo_t *cr);
  
! #define WIDTH	600
! #define HEIGHT  250
  #define STRIDE	(WIDTH*4)  
  
***************
*** 84,90 ****
  draw (cairo_t *cr)
  {
!     cairo_move_to (cr, 10, 10);
!     cairo_line_to (cr, 510, 10);
!     cairo_curve_to (cr, 410, 200, 110, 200, 10, 10);
      cairo_close_path (cr);
  
--- 84,90 ----
  draw (cairo_t *cr)
  {
!     cairo_move_to (cr, 50, 50);
!     cairo_line_to (cr, 550, 50);
!     cairo_curve_to (cr, 450, 240, 150, 240, 50, 50);
      cairo_close_path (cr);
  





More information about the cairo-commit mailing list