Implement Matrix#skew() calls for SVG skewX / skewY correctly.

This commit is contained in:
Jürg Lehni 2013-12-07 05:26:12 +01:00
parent e12ab846bd
commit f62e4d43ba

View file

@ -332,8 +332,9 @@ new function() {
matrix.scale(v);
break;
case 'skewX':
matrix.skew(v[0], 0);
case 'skewY':
matrix.skew(isX ? v[0] : 0, isX ? 0 : v[0]);
matrix.skew(0, v[0]);
break;
}
}