> From: Lorne Laliberte <
lorne@...>
> You could also just render into a 32-bit buffer (RGBA,
> BGRA, or whatever suits your needs) and then blend that buffer onto
> your final output surface.
Thats exactly what I am trying to accomplish.
> I should clarify: in practical terms, the anti-aliasing
> coverage information is preserved if you output onto a 32-bit
> surface with a transparent background, i.e. a buffer that has
> been cleared with a transparent color(0,0,0,0).
So you are saying that agg already supports the feature I need? Well that will save me time. Just to be clear, I am currently using:
typedef agg::pixfmt_bgr24 pfmt_type;
typedef agg::renderer_base<pfmt_type> rbase_type;
typedef agg::renderer_scanline_aa_solid<rbase_type> rsolid_type;
So all I would need to do is switch to:
typedef agg::pixfmt_bgra32 pfmt_type;
That would be pretty sweet! You just saved me a few days of frustration!
Whats with all the "premultiply" variations? And whats the difference between regular and "plain"?
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3.
http://p.sf.net/sfu/velocityconf_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general