Summary: | [PATCH] method disableClipping should be in PSGraphics2D class, not in AbstractPSDocumentGraphics2D | ||
---|---|---|---|
Product: | XMLGraphicsCommons - Now in Jira | Reporter: | Julien Aymé <julien.ayme> |
Component: | java2D | Assignee: | XML Graphics Project Mailing List <general> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | ||
Priority: | P2 | ||
Version: | Trunk | ||
Target Milestone: | -- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | The proposed patch |
Makes sense. Patch applied with rev 949527 (http://svn.apache.org/viewvc?rev=949527&view=rev). Thanks for the patch. |
Created attachment 25479 [details] The proposed patch The field clippingDisabled is defined in PSGraphics2D class, with a default value to false. The setter for this field is defined in the AbstractPSDocumentGraphics2D sub-class. I think that the setter should be defined in PSGraphics2D class, so that the setter stands next to the field. The patch is trivial: remove the method disableClipping from AbstractPSDocumentGraphics2D and put it back into PSGraphics2D.