Update for change in cairo_pdf_surface_create which no longer accepts DPI values.

This commit is contained in:
Carl Worth 2005-05-14 10:00:27 +00:00
parent bef4b13716
commit f797eaac1c
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-05-14 Carl Worth <cworth@cworth.org>
* test/pdf-surface.c (main): Update for change in
cairo_pdf_surface_create which no longer accepts DPI values.
2005-05-13 Owen Taylor <otaylor@redhat.com>
* src/cairo-xlib-surface.c src/cairo-xlib.h

View file

@ -47,8 +47,7 @@ main (void)
surface = cairo_pdf_surface_create (file,
297 / 25.4,
210 / 25.4,
300.0, 300.0);
210 / 25.4);
cr = cairo_create (surface);
cairo_rectangle (cr, 10, 10, 100, 100);