Issue Type: Bug Bug
Assignee: Andrea Aime
Components: render
Created: 09/Jan/13 4:04 AM
Description:

StreamingRenderer.paint(Graphics2D, Rectangle, ReferencedEnvelope, AffineTransform) doesn't honor any prior clipping set on Graphics2D passed to the method.

This happens around line 717 (in 8.4), before managing transformations:

// setup the graphic clip
graphics.setClip(paintArea);

This resets the clipping to paintArea. In order to honor the user specified clipping, Graphics2D.clip(Shape) should be use instead. This way an intersection of the specified paintArea and the user specified clipping will be used.

Project: GeoTools
Priority: Major Major
Reporter: Markus Sunela
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to