« Return to Thread: Rasterizer clipping

Rasterizer clipping

by Petr Kobalíček :: Rate this Message:

Reply to Author | View in Thread

Hi devs,

is there way to set clipping to rasterizer in pixel based coordinates?

I'm working with agg::rasterizer_scanline_aa and there is method void
clip_box(double x1, double y1, double x2, double y2),
if I use for example clip_box(1.0, 1.0, 4.0, 4.0) is there chance that
there will be some content in scanlines outside these bounds (I mean
something with 0 cover) ?

Note: I'm using this rasterizer instead of other classes that's using
it to render real content.

Thanks for ideas
- Petr

------------------------------------------------------------------------------
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

 « Return to Thread: Rasterizer clipping