CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 06/04/24 13:39:18
Modified files: . : ChangeLog gnu/java/awt/java2d: AbstractGraphics2D.java Log message: 2006-04-24 Roman Kennke <[EMAIL PROTECTED]> * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements Cloneable. (font): New field. (clip): Changed clip to be in user space not in target space. (isOptimized): Added flag to allow optimized drawing for primitive operations (e.g. for Swing). (AbstractGraphics2D()): Set foreground in init() to avoid trouble with the paint context etc. (draw): Clip the shape before drawing it. (fill): Clip the shape before drawing it. (setComposite): Update isOptimized flag. (setPaint): Likewise. (setStroke): Likewise. (translate): Update the clip. (rotate): Likewise. (scale): Likewise. (shear): Likewise. (transform): Likewise. (setTransform): Likewise. (clip): Added optimization for rectangle clips. (create): Implemented. (clone): New method. (setFont): Basic implementation. (setClip): Update opimization flag. (drawLine): Added possible optimization. (fillRect): Added possible optimization. (fillShape): Implemented shape-filling by filling the flattended shape using polygon fill. (drawPixel): Added basic painting. (rawSetPixel): Changed signature to only take coordinates. (rawSetForeground): New abstract method. (getUserBounds): Implemented default for this method. (rawDrawLine): New method. (rawFillRect): New method. (rawFillPolygon): New method. (init): New method. (updateOptimization): New method. (computeIntersection): New method. (updateClip): New method. (clipShape): New method. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7195&tr2=1.7196&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/java/awt/java2d/AbstractGraphics2D.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text