From 9b91a24ee6f383ca53556c466d84baf56f16940b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 27 Mar 2023 14:12:01 +0200 Subject: Graph Font: Rename getBBox*() -> getBounds*() to preserve a common semantic name --- src/demos/com/jogamp/opengl/demos/graph/ui/UITypeDemo01.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demos/com') 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; -- cgit v1.2.3