1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-31 07:44:22 +03:00
This commit is contained in:
Bogdan Chadkin
2021-03-15 21:34:36 +03:00
parent 61657433e1
commit c925e4da0a
2 changed files with 4 additions and 7 deletions

View File

@ -122,6 +122,7 @@ const applyTransforms = (elem, pathData, params) => {
return;
};
exports.applyTransforms = applyTransforms;
const transformAbsolutePoint = (matrix, x, y) => {
const newX = matrix[0] * x + matrix[2] * y + matrix[4];
@ -325,4 +326,3 @@ const applyMatrixToPathData = (pathData, matrix) => {
pathItem.data = args;
}
};
exports.applyTransforms = applyTransforms;