summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/javax
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/classes/javax')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/util/Point.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/util/Point.java b/src/nativewindow/classes/javax/media/nativewindow/util/Point.java
index 0a5036eda..c53b16928 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/util/Point.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/util/Point.java
@@ -97,4 +97,10 @@ public class Point implements Cloneable, PointImmutable {
return this;
}
+ public Point scale(int sx, int sy) {
+ x *= sx ;
+ y *= sy ;
+ return this;
+ }
+
}