diff options
author | Sven Gothel <[email protected]> | 2023-03-27 14:12:01 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-27 14:12:01 +0200 |
commit | 9b91a24ee6f383ca53556c466d84baf56f16940b (patch) | |
tree | 42379ffbfe2c41835ba9418ecb98fa7251e90868 /src/jogl/classes/com/jogamp | |
parent | 0cea1ffbf415d40b9cff582b15fb5b736ae42580 (diff) |
Graph Font: Rename getBBox*() -> getBounds*() to preserve a common semantic name
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/font/Font.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/Font.java b/src/jogl/classes/com/jogamp/graph/font/Font.java index 2a75a203f..d9f59d132 100644 --- a/src/jogl/classes/com/jogamp/graph/font/Font.java +++ b/src/jogl/classes/com/jogamp/graph/font/Font.java @@ -145,13 +145,13 @@ public interface Font { * @param dest AABBox instance set to this metrics boundary in font-units * @return the given and set AABBox 'dest' in font units */ - AABBox getBBoxFU(final AABBox dest); + AABBox getBoundsFU(final AABBox dest); /** * @param dest AABBox instance set to this metrics boundary in font em-size [0..1] * @return the given and set AABBox 'dest' in font units */ - AABBox getBBox(final AABBox dest, final float[] tmpV3); + AABBox getBounds(final AABBox dest, final float[] tmpV3); } /** @@ -178,14 +178,14 @@ public interface Font { /** * Return the AABBox in font-units, borrowing internal instance. */ - AABBox getBBoxFU(); + AABBox getBoundsFU(); /** * Return the AABBox in font-units, copying into given dest. * @param dest AABBox instance set to this metrics boundary in font-units * @return the given and set AABBox 'dest' in font-units */ - AABBox getBBoxFU(final AABBox dest); + AABBox getBoundsFU(final AABBox dest); /** * Return the AABBox in font em-size [0..1], copying into given dest. @@ -193,12 +193,12 @@ public interface Font { * @param tmpV3 caller provided temporary 3-component vector * @return the given and set AABBox 'dest' in font em-size [0..1] */ - AABBox getBBox(final AABBox dest, float[] tmpV3); + AABBox getBounds(final AABBox dest, float[] tmpV3); /** * Return the AABBox in font em-size [0..1], creating a new copy. */ - AABBox getBBox(); + AABBox getBounds(); /** Return advance in font units, sourced from `hmtx` table. */ int getAdvanceFU(); |