-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCGAffineTransform.hx
56 lines (45 loc) · 1.16 KB
/
CGAffineTransform.hx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package ;
//
// CGAffineTransform
//
// Created by Baluta Cristian on 2011-07-12.
// Copyright (c) 2011 ralcr.com. All rights reserved.
//
import flash.geom.Point;
class CGAffineTransform {
public var a : Float;
public var b : Float;
public var c : Float;
public var d : Float;
public var tx : Float;
public var ty : Float;
public function new ( ?a:Float=0, ?b:Float=0, ?c:Float=0, ?d:Float=0, ?tx:Float=0, ?ty:Float=0 ) {
this.a = a;
this.b = b;
this.c = c;
this.d = d;
this.tx = tx;
this.ty = ty;
}
public function clone() : CGAffineTransform {
return new CGAffineTransform (a, b, c, d, tx, ty);
}
public function concat( m : CGAffineTransform ) : Void {
}
public function identity() : CGAffineTransform {
return this;
}
public function invert() : Void {
}
public function rotate( angle : Float ) : Void {
}
public function scale( sx : Float, sy : Float ) : Void {
}
public function setTo( aa : Float, ba : Float, ca : Float, da : Float, txa : Float, tya : Float ) : Void {
}
public function transformPoint( point : Point ) : Point {
return point;
}
public function translate( dx : Float, dy : Float ) : Void {
}
}