[cairo] [PATCH] PDF: alpha-gradients; reused patterns; cairo_paint_with_alpha

Miklós Erdélyi erdelyim at gmail.com
Mon Jul 24 16:22:45 PDT 2006


Alpha-gradients implemented using an smask. Stroking/non-stroking
operators are also separated.
Patterns now are reused as a hole if possible, and in case of
gradients just the interpolating functions and in case of image
patterns just the image data is reused if possible. CRC32 is used for
calculating the hashes.
cairo_paint_with_alpha can be called on a PDF surface since masking
with constant alpha is possible now.
--
This needs to be reviewed of course. I would like to help getting this
committed as soon as possible since it adds useful features to the PDF
backend.
Any comments/critics are  welcome.
Cheers,
miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.bin
Type: application/octet-stream
Size: 44803 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060725/fa3f7520/patch-0001.bin


More information about the cairo mailing list