aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphui/classes/jogamp')
-rw-r--r--src/graphui/classes/jogamp/graph/ui/shapes/Label0.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/jogamp/graph/ui/shapes/Label0.java b/src/graphui/classes/jogamp/graph/ui/shapes/Label0.java
index 1a7520daa..fe5f7f8e5 100644
--- a/src/graphui/classes/jogamp/graph/ui/shapes/Label0.java
+++ b/src/graphui/classes/jogamp/graph/ui/shapes/Label0.java
@@ -65,10 +65,10 @@ public class Label0 {
this.font = font;
}
- public final AABBox addShapeToRegion(final float scale, final Region region, final AffineTransform tLeft,
+ public final AABBox addShapeToRegion(final float scale, final Region region, final float[] txy,
final AffineTransform tmp1, final AffineTransform tmp2, final AffineTransform tmp3)
{
- tmp1.setTransform(tLeft);
+ tmp1.setToTranslation(txy[0], txy[1]);
tmp1.scale(scale, scale, tmp2);
return TextRegionUtil.addStringToRegion(region, font, tmp1, text, rgbaColor, tmp2, tmp3);
}