commit | 1b84ec0976538570d0407d95677038679225dd0e | [log] [tgz] |
---|---|---|
author | hs1217.lee <hs1217.lee@samsung.com> | Fri Oct 28 13:23:09 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Oct 28 13:26:30 2016 |
tree | 62b1747c7417584d6c23383c520556905ec03717 | |
parent | 7fcceb13d277f6f7fd3bed8843de3bb8495faecd [diff] |
[GeometryInterface] Add setMatrixValue(transfromList) function. 1. if transformList is the empty string, set in to the string "matrix(1, 0, 0, 1, 0, 0)". 2. Parse transformList by following the syntax description[1]. if parsing failed, throw SyntaxError. 3. Set is2D to false if the <transform-list> consists of any 3D Transform functions. Otherwise set is2D to true. 4. Transform all <transform-function>s to 4x4 matrices. 5. Post-multiply all matrices from left to right. 6. return the current matrix. spec list: https://drafts.fxtf.org/geometry/#dom-dommatrix-setmatrixvalue [1] = https://drafts.csswg.org/css-transforms-1/#svg-syntax BUG=388780, 645884 Review-Url: https://codereview.chromium.org/2380713004 Cr-Commit-Position: refs/heads/master@{#428352}