diff options
author | Sven Gothel <[email protected]> | 2011-03-26 19:26:41 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-26 19:26:41 +0100 |
commit | 929fc058c56781763c79015f4dbbf9e14dc808a2 (patch) | |
tree | 231e58a5abcbd8186da79848c045b13e3b05f92f /src/jogamp/graph/font/FontInt.java | |
parent | a7c95f26e87460b76763f26723bbd9379c9fc4cb (diff) |
Font: Make font instances size agnostic (remove all size states), size is only a render time parameter. Add missing bounds/width/height queries to TypecastFont
Diffstat (limited to 'src/jogamp/graph/font/FontInt.java')
-rw-r--r-- | src/jogamp/graph/font/FontInt.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/jogamp/graph/font/FontInt.java b/src/jogamp/graph/font/FontInt.java index 5b938bdbf..c18787723 100644 --- a/src/jogamp/graph/font/FontInt.java +++ b/src/jogamp/graph/font/FontInt.java @@ -35,11 +35,10 @@ import com.jogamp.graph.font.Font; public interface FontInt extends Font { public interface Glyph extends Font.Glyph { - public Path2D getPath(); - public Path2D getPathForPixelSize(float pixelSize); + public Path2D getPath(); // unscaled path + public Path2D getPath(float pixelSize); } - public void getOutline(String string, - AffineTransform transform, - Path2D[] result); + public void getOutline(String string, float pixelSize, + AffineTransform transform, Path2D[] result); } |