From 18c405bb970d34cbdeef4af9fa06e612d5edbffb Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Tue, 18 Apr 2023 08:25:50 +0200
Subject: Graph Font.getGlyphShapeBounds(): Use variant w/ 2 temp
 AffineTransform matching getGlyphBounds()

---
 src/jogl/classes/com/jogamp/graph/font/Font.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src/jogl/classes/com')

diff --git a/src/jogl/classes/com/jogamp/graph/font/Font.java b/src/jogl/classes/com/jogamp/graph/font/Font.java
index 96e0cc523..314040adf 100644
--- a/src/jogl/classes/com/jogamp/graph/font/Font.java
+++ b/src/jogl/classes/com/jogamp/graph/font/Font.java
@@ -458,13 +458,16 @@ public interface Font {
      * <p>
      * This method is only exposed to validate the produced {@link OutlineShape} against {@link #getGlyphBounds(CharSequence)}.
      * </p>
+     * @param transform optional given transform
      * @param string string text
+     * @param tmp1 temp {@link AffineTransform} to be reused
+     * @param tmp2 temp {@link AffineTransform} to be reused
      * @return the bounding box of the given string in font-units [0..1]
-     * @see #getGlyphShapeBounds(AffineTransform, CharSequence)
+     * @see #getGlyphShapeBounds(CharSequence)
      * @see #getGlyphBounds(CharSequence)
      * @see #getMetricBounds(CharSequence)
      */
-    AABBox getGlyphShapeBounds(final CharSequence string);
+    AABBox getGlyphShapeBounds(final AffineTransform transform, final CharSequence string, final AffineTransform tmp1, final AffineTransform tmp2);
 
     boolean isPrintableChar(final char c);
 
-- 
cgit v1.2.3