summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-28 02:39:49 +0200
committerSven Gothel <[email protected]>2023-03-28 02:39:49 +0200
commitf7125f6bb2db418064a170ae42466e13b8f51f70 (patch)
tree324e849e3fe4fc8d7089665d407b12aaf55b5432 /src/jogl/classes/com
parent143b67f063d4a3a0f51806355bca23ef4dc0dc3b (diff)
Graph Font.Glyph: Add getFont() (the owner)
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/graph/font/Font.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/Font.java b/src/jogl/classes/com/jogamp/graph/font/Font.java
index d9f59d132..2fb9b94ab 100644
--- a/src/jogl/classes/com/jogamp/graph/font/Font.java
+++ b/src/jogl/classes/com/jogamp/graph/font/Font.java
@@ -166,6 +166,9 @@ public interface Font {
// http://scripts.sil.org/cms/scripts/page.php?item_id=IWS-Chapter08#ba57949e
public static final int ID_UNKNOWN = 0;
+ /** Return the {@link Font} owning this {@link Glyph}. */
+ Font getFont();
+
/** Return this glyph's ID */
int getID();