[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath gnu/java/awt/java2d/AbstractGraphics2...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath gnu/java/awt/java2d/AbstractGraphics2... |
Date: |
Tue, 02 May 2006 14:03:09 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 06/05/02 14:03:09
Modified files:
gnu/java/awt/java2d: AbstractGraphics2D.java
. : ChangeLog
Log message:
2006-05-02 Roman Kennke <address@hidden>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(AA_SAMPLING): New constant.
(alpha): New field. Used in the antialiasing renderer.
(edgeTable): New field. Used in the antialiasing renderer.
(AbstractGraphics2D): Initialize rendering hints wrt
anti-aliasing.
(draw): Clip after stroking. Commented out clipping for now,
it seems to be buggy.
(fill): Commented out clipping for now, it seems to be buggy.
(setComposite): Don't create composite context.
(setPaint): Only change paint when parameter is not null.
(translate): Call setClip() so subclasses can update their clip
too.
(clip): Call setClip() so subclasses can update their clip
too.
(drawGlyphVector): Added clipping, but left it commented out
because it's buggy.
(getClipBounds): Returns null when clip is null.
(drawLine): Call rawDrawLine with translation applied.
(filLRect): Call rawFillRect with translation applied.
(fillShape): Added support for anti-aliasing.
(rawSetForeground(int,int,int)): New method.
(rawFillShape): A couple of painting fixes.
(fillScanline): Implemented to call rawDrawLine.
(fillShapeAntialias): New method. Implements an anti-aliasing
shape filler.
(fillScanlineAA): New method. Used for the anti-aliasing
shape filler.
(fillScanlineAlpha): New method. Used for the anti-aliasing
shape filler.
(init): Initialize clip with the device bounds.
(updateOptimization): Fixed the optimization condition.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/java/awt/java2d/AbstractGraphics2D.java.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7260&tr2=1.7261&r1=text&r2=text
- [commit-cp] classpath gnu/java/awt/java2d/AbstractGraphics2...,
Roman Kennke <=