mdb e79e8c258f TextLayout.getBounds() returns for its bounds a rectangle that "contains
all of the pixels the TextLayout can draw." This turns out to mean that
x+width and y+height are actually rendered upon, unlike every other
fucking AWT thing that returns its bounds where x+width-1 is occupied but
not x+width. It's the fucking drawRect()/fillRect() fiasco all over
again. Anyway, we up our bounds by a pixel so that we behave like every
other normal Euclid fearing user interface construct.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@738 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-15 03:45:38 +00:00
S
Description
Samskivert Library
15 MiB
Languages
Java 96.5%
Shell 2.2%
HTML 1.3%