OLD | NEW |
(Empty) | |
| 1 |
| 2 class _SVGMatrixImpl extends _DOMTypeBase implements SVGMatrix { |
| 3 _SVGMatrixImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 num get a() => _wrap(_ptr.a); |
| 6 |
| 7 void set a(num value) { _ptr.a = _unwrap(value); } |
| 8 |
| 9 num get b() => _wrap(_ptr.b); |
| 10 |
| 11 void set b(num value) { _ptr.b = _unwrap(value); } |
| 12 |
| 13 num get c() => _wrap(_ptr.c); |
| 14 |
| 15 void set c(num value) { _ptr.c = _unwrap(value); } |
| 16 |
| 17 num get d() => _wrap(_ptr.d); |
| 18 |
| 19 void set d(num value) { _ptr.d = _unwrap(value); } |
| 20 |
| 21 num get e() => _wrap(_ptr.e); |
| 22 |
| 23 void set e(num value) { _ptr.e = _unwrap(value); } |
| 24 |
| 25 num get f() => _wrap(_ptr.f); |
| 26 |
| 27 void set f(num value) { _ptr.f = _unwrap(value); } |
| 28 |
| 29 SVGMatrix flipX() { |
| 30 return _wrap(_ptr.flipX()); |
| 31 } |
| 32 |
| 33 SVGMatrix flipY() { |
| 34 return _wrap(_ptr.flipY()); |
| 35 } |
| 36 |
| 37 SVGMatrix inverse() { |
| 38 return _wrap(_ptr.inverse()); |
| 39 } |
| 40 |
| 41 SVGMatrix multiply(SVGMatrix secondMatrix) { |
| 42 return _wrap(_ptr.multiply(_unwrap(secondMatrix))); |
| 43 } |
| 44 |
| 45 SVGMatrix rotate(num angle) { |
| 46 return _wrap(_ptr.rotate(_unwrap(angle))); |
| 47 } |
| 48 |
| 49 SVGMatrix rotateFromVector(num x, num y) { |
| 50 return _wrap(_ptr.rotateFromVector(_unwrap(x), _unwrap(y))); |
| 51 } |
| 52 |
| 53 SVGMatrix scale(num scaleFactor) { |
| 54 return _wrap(_ptr.scale(_unwrap(scaleFactor))); |
| 55 } |
| 56 |
| 57 SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY) { |
| 58 return _wrap(_ptr.scaleNonUniform(_unwrap(scaleFactorX), _unwrap(scaleFactor
Y))); |
| 59 } |
| 60 |
| 61 SVGMatrix skewX(num angle) { |
| 62 return _wrap(_ptr.skewX(_unwrap(angle))); |
| 63 } |
| 64 |
| 65 SVGMatrix skewY(num angle) { |
| 66 return _wrap(_ptr.skewY(_unwrap(angle))); |
| 67 } |
| 68 |
| 69 SVGMatrix translate(num x, num y) { |
| 70 return _wrap(_ptr.translate(_unwrap(x), _unwrap(y))); |
| 71 } |
| 72 } |
OLD | NEW |