OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface SVGTransform { | 7 interface SVGTransform { |
8 | 8 |
9 static final int SVG_TRANSFORM_MATRIX = 1; | 9 static final int SVG_TRANSFORM_MATRIX = 1; |
10 | 10 |
11 static final int SVG_TRANSFORM_ROTATE = 4; | 11 static final int SVG_TRANSFORM_ROTATE = 4; |
12 | 12 |
13 static final int SVG_TRANSFORM_SCALE = 3; | 13 static final int SVG_TRANSFORM_SCALE = 3; |
14 | 14 |
15 static final int SVG_TRANSFORM_SKEWX = 5; | 15 static final int SVG_TRANSFORM_SKEWX = 5; |
16 | 16 |
17 static final int SVG_TRANSFORM_SKEWY = 6; | 17 static final int SVG_TRANSFORM_SKEWY = 6; |
18 | 18 |
19 static final int SVG_TRANSFORM_TRANSLATE = 2; | 19 static final int SVG_TRANSFORM_TRANSLATE = 2; |
20 | 20 |
21 static final int SVG_TRANSFORM_UNKNOWN = 0; | 21 static final int SVG_TRANSFORM_UNKNOWN = 0; |
22 | 22 |
23 num get angle(); | 23 final num angle; |
24 | 24 |
25 SVGMatrix get matrix(); | 25 final SVGMatrix matrix; |
26 | 26 |
27 int get type(); | 27 final int type; |
28 | 28 |
29 void setMatrix(SVGMatrix matrix); | 29 void setMatrix(SVGMatrix matrix); |
30 | 30 |
31 void setRotate(num angle, num cx, num cy); | 31 void setRotate(num angle, num cx, num cy); |
32 | 32 |
33 void setScale(num sx, num sy); | 33 void setScale(num sx, num sy); |
34 | 34 |
35 void setSkewX(num angle); | 35 void setSkewX(num angle); |
36 | 36 |
37 void setSkewY(num angle); | 37 void setSkewY(num angle); |
38 | 38 |
39 void setTranslate(num tx, num ty); | 39 void setTranslate(num tx, num ty); |
40 } | 40 } |
OLD | NEW |