Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Transform.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Transform.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Transform.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Transform.java
index cc9dcc5beb..30e7dd3e29 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Transform.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Transform.java
@@ -53,6 +53,9 @@ public class Transform extends Resource {
* graphics subsystem which may not be available on some
* platforms.
* </p>
+ * <p>
+ * You must dispose the transform when it is no longer required.
+ * </p>
*
* @param device the device on which to allocate the Transform
*
@@ -80,6 +83,9 @@ public Transform (Device device) {
* graphics subsystem which may not be available on some
* platforms.
* </p>
+ * <p>
+ * You must dispose the transform when it is no longer required.
+ * </p>
*
* @param device the device on which to allocate the Transform
* @param elements an array of floats that describe the transformation matrix
@@ -109,6 +115,9 @@ public Transform(Device device, float[] elements) {
* graphics subsystem which may not be available on some
* platforms.
* </p>
+ * <p>
+ * You must dispose the transform when it is no longer required.
+ * </p>
*
* @param device the device on which to allocate the Transform
* @param m11 the first element of the first row of the matrix

Back to the top