[cairo] Re: group/pattern API
Vladimir Vukicevic
vladimirv at gmail.com
Tue Nov 29 16:29:51 PST 2005
The attached additional small patch is also needed to make groups work
with arbitrary CTM's on the source -- the temporary surface is created
with the CTM-transformed extents, so when it's painted back it needs
to be painted with an identity CTM. The side-effect of scaling is
that your temporary surface is at 1:1 resolution with whatever your
scaled to -- which may or may not be desirable. That is, cairo_scale
(cr, 2.0, 2.0); and then a push_group will give you a 2x resolution
temporary surface. This seems useful for some applications, and
possibly less useful for others...
- Vlad
On 11/28/05, Vladimir Vukicevic <vladimirv at gmail.com> wrote:
> Hmm, that patch didn't really get attached, might be too large. Patch is at:
>
> http://www.vlad1.com/~vladimir/misc/cairo-groups-patterns.patch
>
> - Vlad
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-groups-patterns-1-2.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20051129/8a5622d1/cairo-groups-patterns-1-2.bin
More information about the cairo
mailing list