[cairo] [cairo-commit] src/cairo-pdf-surface.c

Behdad Esfahbod behdad at behdad.org
Fri Jan 18 18:54:21 PST 2008

On Fri, 2008-01-18 at 21:17 -0500, Adrian Johnson wrote:
>     For some reason _cairo_pattern_acquire_surface is no longer returning
>     a reflected image pattern.

Hum, we should investigate this one.

>     This is fixed by only using _cairo_surface_acquire_source_image to get
>     the image and using the same code as is used for reflected
>     meta-surface patterns to created a reflected pattern by drawing four
>     transformed copies of the image inside the PDF patten.
>     This is the better way to implement reflected images as we are no
>     longer embedding an image four times larger than the original.



"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list