[cairo-commit] cairo/src cairo_ps_surface.c,1.1,1.2
Carl Worth
commit at pdx.freedesktop.org
Fri Oct 31 21:56:16 PST 2003
- Previous message: [cairo-commit] cairo ChangeLog,1.96,1.97
- Next message: [cairo-commit] cairo-demo/PS .cvsignore,NONE,1.1 Makefile,NONE,1.1 basket.c,NONE,1.1 write_png.c,NONE,1.1 write_png.h,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory pdx:/tmp/cvs-serv31032/src
Modified Files:
cairo_ps_surface.c
Log Message:
Fix misplacement of PS origin, (was translating vertically by width
instead of height).
Index: cairo_ps_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_ps_surface.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** cairo_ps_surface.c 1 Nov 2003 05:30:35 -0000 1.1
--- cairo_ps_surface.c 1 Nov 2003 05:56:14 -0000 1.2
***************
*** 326,330 ****
/* Image header goop */
! fprintf (file, "%g %g translate\n", 0.0, surface->width_inches * 72.0);
fprintf (file, "%g %g scale\n", 72.0 / surface->x_ppi, 72.0 / surface->y_ppi);
fprintf (file, "/DeviceRGB setcolorspace\n");
--- 326,330 ----
/* Image header goop */
! fprintf (file, "%g %g translate\n", 0.0, surface->height_inches * 72.0);
fprintf (file, "%g %g scale\n", 72.0 / surface->x_ppi, 72.0 / surface->y_ppi);
fprintf (file, "/DeviceRGB setcolorspace\n");
- Previous message: [cairo-commit] cairo ChangeLog,1.96,1.97
- Next message: [cairo-commit] cairo-demo/PS .cvsignore,NONE,1.1 Makefile,NONE,1.1 basket.c,NONE,1.1 write_png.c,NONE,1.1 write_png.h,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list