CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/09/29 12:36:33
Modified files: . : ChangeLog gnu/java/awt/java2d: AbstractGraphics2D.java Added files: gnu/java/awt/java2d: ShapeCache.java Log message: 2006-09-29 Roman Kennke <[EMAIL PROTECTED]> * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated API docs. (isOptimized): Initialize with true. (paintRaster): Removed unneeded field. (shapeCache): New static field. Caches certain shapes for reuse. (computeIntersection): Removed unneeded casts. (drawArc): Use shape cache. (drawImage): Removed unneeded statement. (drawLine): Use shape cache. Pass untranslated coordinates to rawDrawLine(). (drawOval): Use shape cache. (drawPolygon): Use shape cache. (drawRect): Overridden to provide accelerated rectangle drawing if possible and to use the shape cache. (drawRoundRect): Use shape cache. (fillArc): Use shape cache. (fillOval): Use shape cache. (fillPolygon): Use shape cache. (fillRect): Pass untranslated coordinates to rawFillRect(). Use shape cache. (fillRoundRect): Use shape cache. (fillScanlineAA): Removed unneeded statement. (fillScanline): Updated API docs. (fillShapeAntialias): Removed unnecessary cast. (fillShapeImpl): Update API docs. Removed unnecessary cast. (fillShape): Updated API docs. (getShapeCache): New helper method. * gnu/java/awt/java2d/ShapeCache.java: New class. Caches certain shapes for reuse in AbstractGraphics2D. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8632&r2=1.8633 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/AbstractGraphics2D.java?cvsroot=classpath&r1=1.11&r2=1.12 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/ShapeCache.java?cvsroot=classpath&rev=1.1