Matrix.makeScaleXY constructor
Sets Matrix to scale by (sx, sy). Returned matrix is:
| sx 0 0 |
| 0 sy 0 |
| 0 0 1 |
@param sx horizontal scale factor @param sy vertical scale factor @return Matrix with scale
Implementation
factory Matrix.makeScaleXY({required double sx, double sy = 1}) {
final m = Matrix.create();
m.setScale(sx, sy);
return m;
}