diff options
author | Rami Santina <[email protected]> | 2011-06-02 16:00:01 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-06-02 16:00:01 +0300 |
commit | 9cefde9395002717bb6bfde461f4a65c69a888dd (patch) | |
tree | 04180891628ca851591878a8460ec8975a072b83 /src/jogl/classes/jogamp/graph/font/FontInt.java | |
parent | ced1a4c644483ad5bfd28ca2bb6a5ffc030b9f1d (diff) |
Font and TypecastRender generate array of OutlineShapes instead of Path2D
GlyphShape and GlyphString use only OutlineShapes
Diffstat (limited to 'src/jogl/classes/jogamp/graph/font/FontInt.java')
-rw-r--r-- | src/jogl/classes/jogamp/graph/font/FontInt.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jogl/classes/jogamp/graph/font/FontInt.java b/src/jogl/classes/jogamp/graph/font/FontInt.java index 6c25f9a80..37660bb2c 100644 --- a/src/jogl/classes/jogamp/graph/font/FontInt.java +++ b/src/jogl/classes/jogamp/graph/font/FontInt.java @@ -27,11 +27,14 @@ */ package jogamp.graph.font; -import jogamp.graph.geom.plane.AffineTransform; +import java.util.ArrayList; + import jogamp.graph.geom.plane.Path2D; import com.jogamp.graph.curve.OutlineShape; import com.jogamp.graph.font.Font; +import com.jogamp.graph.geom.Vertex; +import com.jogamp.graph.geom.Vertex.Factory; public interface FontInt extends Font { @@ -46,7 +49,5 @@ public interface FontInt extends Font { public Path2D getPath(float pixelSize); } - public void getPaths(CharSequence string, float pixelSize, - AffineTransform transform, Path2D[] result); - //TODO: Rami - ADD getOutlines without path2D + public ArrayList<OutlineShape> getOutlineShapes(CharSequence string, float pixelSize, Factory<? extends Vertex> vertexFactory); } |