| Index: sky/engine/core/painting/Offset.dart
|
| diff --git a/sky/engine/core/painting/Offset.dart b/sky/engine/core/painting/Offset.dart
|
| index 6bbbbc8eb99f1e3b9780051e796567ffd8d5fdcd..cd959753c145b5690f1a496a0e47333ea618e02f 100644
|
| --- a/sky/engine/core/painting/Offset.dart
|
| +++ b/sky/engine/core/painting/Offset.dart
|
| @@ -21,6 +21,10 @@ class Offset extends OffsetBase {
|
| Offset operator -() => new Offset(-dx, -dy);
|
| Offset operator -(Offset other) => new Offset(dx - other.dx, dy - other.dy);
|
| Offset operator +(Offset other) => new Offset(dx + other.dx, dy + other.dy);
|
| + Offset operator *(double operand) => new Offset(dx * operand, dy * operand);
|
| + Offset operator /(double operand) => new Offset(dx / operand, dy / operand);
|
| + Offset operator ~/(double operand) => new Offset((dx ~/ operand).toDouble(), (dy ~/ operand).toDouble());
|
| + Offset operator %(double operand) => new Offset(dx % operand, dy % operand);
|
| Rect operator &(Size other) => new Rect.fromLTWH(dx, dy, other.width, other.height);
|
|
|
| // does the equivalent of "return new Point(0,0) + this"
|
|
|