class: MatrixTransform2x3
authorClaus Gittinger <cg@exept.de>
Mon, 22 Dec 2014 00:26:37 +0100
changeset 3435 cd6076adce47
parent 3434 0fa2b638e502
child 3436 bf6858caeb31
class: MatrixTransform2x3 comment/format in: #identity #withOffset: #withRotation: #withScale:
MatrixTransform2x3.st
--- a/MatrixTransform2x3.st	Sun Dec 21 23:34:03 2014 +0100
+++ b/MatrixTransform2x3.st	Mon Dec 22 00:26:37 2014 +0100
@@ -45,7 +45,7 @@
 !MatrixTransform2x3 class methodsFor:'instance creation'!
 
 identity
-	^self new setScale: 1.0
+    ^self new setScale: 1.0
 !
 
 new
@@ -71,21 +71,21 @@
 !
 
 withOffset: aPoint
-        "return a new transformation which translates by aPoint"
+    "return a new transformation which translates by aPoint"
 
-        ^self identity setOffset: aPoint
+    ^self identity setOffset: aPoint
 !
 
 withRotation: angle
-        "return a new transformation which rotates by angle (in degrees)"
+    "return a new transformation which rotates by angle (in degrees)"
 
-        ^self new setAngle: angle
+    ^self new setAngle: angle
 !
 
 withScale: aPoint
-        "return a new transformation which scales by aPoint's x/y values in x/y directions"
+    "return a new transformation which scales by aPoint's x/y values in x/y directions"
 
-        ^self new setScale: aPoint
+    ^self new setScale: aPoint
 ! !
 
 
@@ -390,10 +390,10 @@
 !MatrixTransform2x3 class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/MatrixTransform2x3.st,v 1.5 2014-12-21 21:24:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/MatrixTransform2x3.st,v 1.6 2014-12-21 23:26:37 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview2/MatrixTransform2x3.st,v 1.5 2014-12-21 21:24:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/MatrixTransform2x3.st,v 1.6 2014-12-21 23:26:37 cg Exp $'
 ! !