inverted drawing

View: New views
1 Messages — Rating Filter:   Alert me  

inverted drawing

by klaas.holwerda-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I try to find how to do inverted drawing. Meaning drawing twice the same
thing, restores the situation as was.
So i first tried agg2d, it has the enum BlendMode, and agg::comp_op_xor
is one of them, but that does not do the job.
But the agg::comp_op_invert nor agg::comp_op_invert_rgb, are not
mentioned there.
So i did add them there to see what happened, to bad they don't work
either.
And now i don't know anymore.

Do i need a premultiplied pixfmt to make this work??

Does someone of you know in what direction i should go,

Thanks,

Klaas

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general