Commit Graph

9 Commits

Author SHA1 Message Date
Mikael Sand
c7039588f6 Improve coordinate system calculations for font-size, letter-spacing etc.
Fix parsing of transform to account for single parameter scale and translate correctly.
Fix skewX, had opposite of intended effect.
https://www.w3.org/TR/SVG/coords.html
https://www.w3.org/TR/SVG2/coords.html
https://www.w3.org/TR/SVGTiny12/coords.html
https://www.w3.org/TR/SVG/coords.html#TransformAttribute
https://www.w3.org/TR/SVG/coords.html#SkewXDefined
2017-06-27 20:45:04 +03:00
Mikael Sand
77e54cfcfb Fix linting 2017-06-07 17:25:22 +03:00
fxwan
1e6f36053a Add Basic support to transform props, including translate, rotate, scale, skewX, skewY and matrix. Keep in mind that the current implementation doesn't support 3-arguments rotate(a, x, y) transform yet. 2017-06-05 16:54:25 +03:00
Horcrux
5bd9b40c17 refactor Components props extracting 2017-02-03 19:43:25 +08:00
Horcrux
aee3038996 fix missed props.x and props.y 2016-07-27 11:13:02 +08:00
Horcrux
a636211917 fix #61
refactor transform processing
2016-07-27 10:43:24 +08:00
Horcrux
cbce096b5c Use eslint, add travis-ci 2016-05-04 17:54:30 +08:00
Horcrux
fb98db5fed fix wrong Transform import path 2016-04-23 23:40:54 +08:00
Horcrux
fa1aea094a add clipping js code 2016-04-21 15:44:25 +08:00