aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-04-20 21:39:21 +0200
committerSven Gothel <[email protected]>2023-04-20 21:39:21 +0200
commita251f5734cc1f5c907f239c3ca3a4f1d4c262058 (patch)
treefe485e886202b6f424d622d93d38cc2d71aa46b2 /src/jogl
parent97751b036e945fc3afe5e46a6a0b5f96d2b9698b (diff)
Graph OutlineShape.get{Outline->}VectexCount() renamed
Diffstat (limited to 'src/jogl')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java2
-rw-r--r--src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
index 20eaca236..1a1bd94dd 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/OutlineShape.java
@@ -224,7 +224,7 @@ public final class OutlineShape implements Comparable<OutlineShape> {
}
/** Returns the total {@link Outline#getVertexCount() vertex number} of all {@link Outline}s. */
- public final int getOutlineVectexCount() {
+ public final int getVertexCount() {
int res = 0;
for(final Outline o : outlines) {
res += o.getVertexCount();
diff --git a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
index 7cf520bf3..ce490bdf0 100644
--- a/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
+++ b/src/jogl/classes/jogamp/graph/font/typecast/TypecastFont.java
@@ -214,7 +214,7 @@ class TypecastFont implements Font {
glyph_leftsidebearings = glyph.getLeftSideBearing();
final AABBox sb = glyph.getBBox();
final OutlineShape s = TypecastRenderer.buildShape(metrics.getUnitsPerEM(), glyph);
- if( 0 < s.getOutlineVectexCount() ) {
+ if( 0 < s.getVertexCount() ) {
glyph_bbox = sb;
shape = s;
isWhiteSpace = false;