OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 interface SVGTransform { |
| 8 |
| 9 static final int SVG_TRANSFORM_MATRIX = 1; |
| 10 |
| 11 static final int SVG_TRANSFORM_ROTATE = 4; |
| 12 |
| 13 static final int SVG_TRANSFORM_SCALE = 3; |
| 14 |
| 15 static final int SVG_TRANSFORM_SKEWX = 5; |
| 16 |
| 17 static final int SVG_TRANSFORM_SKEWY = 6; |
| 18 |
| 19 static final int SVG_TRANSFORM_TRANSLATE = 2; |
| 20 |
| 21 static final int SVG_TRANSFORM_UNKNOWN = 0; |
| 22 |
| 23 final num angle; |
| 24 |
| 25 final SVGMatrix matrix; |
| 26 |
| 27 final int type; |
| 28 |
| 29 void setMatrix(SVGMatrix matrix); |
| 30 |
| 31 void setRotate(num angle, num cx, num cy); |
| 32 |
| 33 void setScale(num sx, num sy); |
| 34 |
| 35 void setSkewX(num angle); |
| 36 |
| 37 void setSkewY(num angle); |
| 38 |
| 39 void setTranslate(num tx, num ty); |
| 40 } |
OLD | NEW |