[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath gnu/java/awt/peer/x/GLGraphics.java g...
From: |
Mario Torre |
Subject: |
[commit-cp] classpath gnu/java/awt/peer/x/GLGraphics.java g... |
Date: |
Thu, 29 May 2008 16:41:43 +0000 |
CVSROOT: /sources/classpath
Module name: classpath
Changes by: Mario Torre <neugens> 08/05/29 16:41:43
Modified files:
gnu/java/awt/peer/x: GLGraphics.java XGraphicsConfiguration.java
gnu/java/awt/java2d: RasterGraphics.java AbstractGraphics2D.java
ScanlineConverter.java
java/awt : AlphaComposite.java
. : ChangeLog
java/awt/image : WritableRaster.java
Log message:
2008-05-29 Mario Torre <address@hidden>
* gnu/java/awt/java2d/AbstractGraphics2D.java (setColor): now
set directly
the foreground color the application wants to use to draw. On
null, behave
like OpenJDK, drawing black.
(renderScanline): fixed NPE, paintContext never initialized.
Correctely
retrieve destination raster
(getColor): Return the correct type.
(static initializer): HashMap now typed.
(background): now defaults to black and not null.
(getPaintContext): new method. Initialize lazily the
PaintContext.
(foreground): new field.
(isForegroundColorNull): likewise.
(getDeviceBounds): made abstract.
* gnu/java/awt/java2d/RasterGraphics.java (getDeviceBounds):
new method.
* gnu/java/awt/java2d/ScanlineConverter.java (renderShape):
pass correct
value of Y to doScanline.
* gnu/java/awt/peer/x/GLGraphics.java (getDeviceBounds): new
method.
(setBackground): synch with new Escher 2.0 API.
* gnu/java/awt/peer/x/XGraphicsConfiguration.java
(getDefaultTransform):
implemented.
(getBounds): new method.
* java/awt/AlphaComposite.java (derive(int) and derive(float)):
new methods.
* java/awt/image/WritableRaster.java
(createWritableTranslatedChild):
now call createWritableChild.
(createWritableChild): reformatted.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/x/GLGraphics.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/x/XGraphicsConfiguration.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/RasterGraphics.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/AbstractGraphics2D.java?cvsroot=classpath&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/java2d/ScanlineConverter.java?cvsroot=classpath&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/AlphaComposite.java?cvsroot=classpath&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9621&r2=1.9622
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/image/WritableRaster.java?cvsroot=classpath&r1=1.10&r2=1.11
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [commit-cp] classpath gnu/java/awt/peer/x/GLGraphics.java g...,
Mario Torre <=