mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-21 07:22:23 +00:00
Fix identity namespace
This commit is contained in:
parent
d5416de8ac
commit
666a8b7682
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ void LottieBuilder::updateText(LottieLayer* layer, float frameNo)
|
||||||
auto& matrix = shape->transform();
|
auto& matrix = shape->transform();
|
||||||
|
|
||||||
if (followPath) {
|
if (followPath) {
|
||||||
identity(&matrix);
|
tvg::identity(&matrix);
|
||||||
auto angle = 0.0f;
|
auto angle = 0.0f;
|
||||||
auto halfGlyphWidth = glyph->width * 0.5f;
|
auto halfGlyphWidth = glyph->width * 0.5f;
|
||||||
auto position = followPath->position(cursor.x + halfGlyphWidth + firstMargin, angle);
|
auto position = followPath->position(cursor.x + halfGlyphWidth + firstMargin, angle);
|
||||||
|
|
Loading…
Add table
Reference in a new issue