Merge pull request #1140 from Hixie/concat

Transition callers from 'concat' to 'transform'
This commit is contained in:
Ian Hickson
2016-01-11 20:05:07 -08:00
4 changed files with 5 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ ui.Picture paint(ui.Rect paintBounds) {
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0,
]);
canvas.concat(scaleMatrix);
canvas.transform(scaleMatrix);
paint.color = const ui.Color.fromARGB(128, 0, 255, 0);
canvas.drawCircle(ui.Point.origin, radius, paint);