diff options
author | Sven Gothel <[email protected]> | 2013-09-19 03:21:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-09-19 03:21:15 +0200 |
commit | 8a4a64e1a3e9beb09580ba95fe85026abf2ff106 (patch) | |
tree | aab4881100a2b55c3068cb591caf44414ed2a352 /make/scripts/tests-x64.bat | |
parent | 94117c091a253903d164a2934ea8ab1d70e9003e (diff) |
AWTTilePainter.setupGraphics2DAndClipBounds(): Use 'Shape getClip()'; Use double precicion clip bounds 'all the way'; Explicitly scale image and clip w/ current scaled transform.
- Use 'Shape getClip()'
Don't assume Rectangle2D, but use Shape's getBounds2D()
- Use double precicion clip bounds 'all the way'
Remove rounding error on clip bounds w/ start value, which was _not_ using doubles.
- Explicitly scale image and clip w/ current scaled transform.
Instead of abusing Graphics2D's clip shape to scale image size and clip-area,
explicitly use transform both bounding boxes into transformed space,
scale space and transform out (inversion).
A possible NoninvertibleTransformException will be thrown while Graphics2D has not been modified.
Diffstat (limited to 'make/scripts/tests-x64.bat')
0 files changed, 0 insertions, 0 deletions