diff options
author | Sven Gothel <[email protected]> | 2023-03-22 16:59:15 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-22 16:59:15 +0100 |
commit | 9e4d575d7f7a9817cf11fa4e33504a379d271a21 (patch) | |
tree | 5f57f405d705329a30442d98f1248bd59dc881f7 /src/jogl/classes/com/jogamp/graph | |
parent | a5d593478afa2298282a0624b2490fde84c3a292 (diff) |
Graph: Remove OutlineShape.Visitor* as being replaced by Font.GlyphVisitor
(We may ressurect them if needed for a future use case)
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java | 23 | ||||
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java | 2 |
2 files changed, 1 insertions, 24 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java index 7b487347a..807d79abe 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java +++ b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java @@ -129,29 +129,6 @@ public final class OutlineShape implements Comparable<OutlineShape> { } } - /** - * General purpose {@link OutlineShape} visitor. - */ - public static interface Visitor { - /** - * Visiting the given {@link OutlineShape} with it's corresponding {@link AffineTransform}. - * @param shape may be used as is, otherwise a copy shall be made if intended to be modified. - * @param t may be used immediately as is, otherwise a copy shall be made if stored. - */ - public void visit(final OutlineShape shape, final AffineTransform t); - } - - /** - * Constrained {@link OutlineShape} visitor w/o {@link AffineTransform}. - */ - public static interface Visitor2 { - /** - * Visiting the given {@link OutlineShape}. - * @param shape may be used as is, otherwise a copy shall be made if intended to be modified. - */ - public void visit(final OutlineShape shape); - } - /** Initial {@link #getSharpness()} value, which can be modified via {@link #setSharpness(float)}. */ public static final float DEFAULT_SHARPNESS = 0.5f; diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java index aa756582a..6797a266c 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java +++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java @@ -124,7 +124,7 @@ public abstract class GLRegion extends Region { /**
* Create a GLRegion using the passed render mode and pre-calculating its buffer sizes
- * using given font's {@link Font#processString(com.jogamp.graph.curve.OutlineShape.Visitor2, CharSequence)}
+ * using given font's {@link Font#processString(com.jogamp.graph.font.Font.GlyphVisitor2, CharSequence)}
* to {@link #countOutlineShape(OutlineShape, int[])}.
*
* <p> In case {@link Region#VBAA_RENDERING_BIT} is being requested the default texture unit
|