[cairo] Best strategy for complex screen drawing

MenTaLguY mental at rydia.net
Sat Nov 26 09:15:39 PST 2005


On Sat, 2005-11-26 at 14:52 +0100, Timothée Lecomte wrote:
> It gives no seam, and it is much quicker (400 ms to draw the 10000
> polygons on a generic image surface, instead of 1500 ms).
> Unfortunately, there are some unwanted side effects, because I have to
> draw polygons over already existing polygons, and with
> CAIRO_OPERATOR_ADD this leads to some transparency effects. Here is a
> screenshot :
> 
> http://tipote.free.fr/wxt16.png

Maybe you want to use SATURATE rather than ADD?

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20051126/b8586dd6/attachment.pgp


More information about the cairo mailing list