@override void lineTo(double x, double y) { if (!_needsTransform) { super.lineTo(x, y); return; } var v = _transform * Vec2D.fromValues(x, y); super.lineTo(v.x, v.y); }