CVSROOT:/cvsroot/classpath
Module name:classpath
Changes by: Roman Kennke 07/05/18 16:22:40
Modified files:
. : ChangeLog
gnu/java/awt/java2d: AbstractGraphics2D.java
ScanlineConverter.java
Added files:
gnu/java/awt/java2d: Pixelizer.java ScanlineCoverage.java
Log message:
2007-05-18 Roman Kennke <[EMAIL PROTECTED]>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(fillScanlineAA): Removed. Replaced by renderScanline().
(fillScanline): Dito.
(renderScanline): New method. Renders a scanline according to
the coverage information from the scanline converter.
* gnu/java/awt/java2d/Pixelizer.java: New interface. Describes
the targets of the rasterizer.
* gnu/java/awt/java2d/ScanlineConverter.java
(alphaRes): Removed.
(ONE): Removed.
(scanlineCoverage): New field. Manages the coverage information.
(scanlinesPerPixel): Removed.
(scanlineXCov): Removed.
(scanlineYCov): Removed.
(slPix0): Removed.
(ScanlineConverter): Initialize scanline coverage data
structure.
(clear): Also clear the scanline coverage.
(doScanline): Work with Pixelizer objects.
Use the ScanlineCoverage datastructure.
(main): New method. Performs some tests.
(renderShape): Work with pixelizer objects rather than directly
on AbstractGraphic2D. Adjust to use ScanlineCoverage
datastructure.
(setResolution): Set resolution on ScanlineCoverage data too.
* gnu/java/awt/java2d/ScanlineCoverage.java: New class. Stores
and manages scanline coverage information.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9306&r2=1.9307
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/AbstractGraphics2D.java?cvsroot=classpath&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/ScanlineConverter.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/Pixelizer.java?cvsroot=classpath&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/ScanlineCoverage.java?cvsroot=classpath&rev=1.1