mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
sw_engine: fix a wrong compuation.
corrected a mistake caused by a dead brain.
This commit is contained in:
parent
2998eb18fc
commit
cea63125a4
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ struct SwShapeTask : SwTask
|
|||
|
||||
if (!rshape->stroke->fill && (MULTIPLY(rshape->stroke->color[3], opacity) == 0)) return 0.0f;
|
||||
if (mathZero(rshape->stroke->trim.begin - rshape->stroke->trim.end)) return 0.0f;
|
||||
if (transform) return (width / sqrt(transform->e11 * transform->e11 + transform->e12 * transform->e12));
|
||||
|
||||
if (transform) return (width * sqrt(transform->e11 * transform->e11 + transform->e12 * transform->e12));
|
||||
else return width;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue