summaryrefslogtreecommitdiffstats
path: root/src/demos/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-27 14:12:01 +0200
committerSven Gothel <[email protected]>2023-03-27 14:12:01 +0200
commit9b91a24ee6f383ca53556c466d84baf56f16940b (patch)
tree42379ffbfe2c41835ba9418ecb98fa7251e90868 /src/demos/com/jogamp
parent0cea1ffbf415d40b9cff582b15fb5b736ae42580 (diff)
Graph Font: Rename getBBox*() -> getBounds*() to preserve a common semantic name
Diffstat (limited to 'src/demos/com/jogamp')
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UITypeDemo01.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UITypeDemo01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UITypeDemo01.java
index 5d380b396..77c644493 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/UITypeDemo01.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UITypeDemo01.java
@@ -322,7 +322,7 @@ public class UITypeDemo01 implements GLEventListener {
glyph = null;
}
if( null != glyph && glyph.getID() != Glyph.ID_UNKNOWN ) {
- final AABBox txt_box_em = glyph.getBBox();
+ final AABBox txt_box_em = glyph.getBounds();
final float full_width_s = full_width_o / txt_box_em.getWidth();
final float full_height_s = full_height_o / txt_box_em.getHeight();
final float txt_scale = full_width_s < full_height_s ? full_width_s/2f : full_height_s/2f;