[OpenJDK 2D-Dev] How are transformations done and some other questions
Clemens Eisserer
linuxhippy at gmail.com
Fri May 16 17:43:07 UTC 2008
Hello,
1.) I am currently investigating how AffineTransformations are done by
Java2D, and for the X11 Pipeline it seems for anything but
translations the PixelToShapeConverter is called and the general
path/fill algorythmns are used.
In the case of a simply Line, it is rotated and then sent to the
X11Renderer which continues processing as nothing would have
happended.
Does the OpenGL pipeline work the same way?
I saw that it registers some TransformBlits, so is the tranformation
of everything exctept images handled by Java2D?
I wonder because this would mean that for images I would have to
adjust the context to rotate, but for everything else I would have to
reset it.
Seems I mess things somehow up :-/
2.) The X11-Pipeline does clipping itself (took me some time to
understand why the validation code always passed without re-seting the
current clip^^) for drawImage. Why was this done?
Thanks, lg Clemens
More information about the 2d-dev
mailing list