To add some AGG specific content.
I've found that drawing large polygons (pixel size) with
renderer_scanline_aa_solid is a bit slow. So I wanted to be sure that I'm
not missing something.
I've found that the agg::render_scanlines takes the most time in this
routine.
Is there a better way to handle this? Or, any thoughts on where to a place
to start for optimizing it?
Example:
// Note AGG objects are cached for the duration of the redraw
ras.reset();
ras.clip_box( 0.0, 0.0, (double)getCX(), (double)getCY() );
path.remove_all();
path.move_to( pnt[0], pnt[1]);
for(int i=1; i<cnt; i++)
{
path.line_to( pnt[i*2], pnt[i*2+1]);
}
ras.add_path(path);
agg::scanline_p8 sl;
agg::render_scanlines(ras, sl, ren_aa);
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general