mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 01:48:07 +02:00
Update for change in cairo_pdf_surface_create which no longer accepts DPI values.
This commit is contained in:
parent
bef4b13716
commit
f797eaac1c
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue