mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
SvgLoader/Parser: Fix typo
Change-Id: Iced0f2196c52f7cc729d6f648f5df6affbda3357
This commit is contained in:
parent
99428ee80a
commit
e86d2ab686
1 changed files with 2 additions and 2 deletions
|
@ -623,13 +623,13 @@ static Matrix* _parseTransformationMatrix(const char* value)
|
|||
tmp = { c, -s, 0, s, c, 0, 0, 0, 1 };
|
||||
_matrixCompose(matrix, &tmp, matrix);
|
||||
} else if (ptCount == 3) {
|
||||
tmp = { 1, 0, points[0], 0, 1, points[1], 0, 0, 1 };
|
||||
tmp = { 1, 0, points[1], 0, 1, points[2], 0, 0, 1 };
|
||||
_matrixCompose(matrix, &tmp, matrix);
|
||||
|
||||
tmp = { c, -s, 0, s, c, 0, 0, 0, 1 };
|
||||
_matrixCompose(matrix, &tmp, matrix);
|
||||
|
||||
tmp = { 1, 0, points[0], 0, 1, points[1], 0, 0, 1 };
|
||||
tmp = { 1, 0, -points[1], 0, 1, -points[2], 0, 0, 1 };
|
||||
_matrixCompose(matrix, &tmp, matrix);
|
||||
} else {
|
||||
goto error;
|
||||
|
|
Loading…
Add table
Reference in a new issue