mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-26 16:16:46 +00:00
sw_engine: fix a missing anti-aliasing
enable fill anti-aliasing when the stroke is trimming.
This commit is contained in:
parent
35b1f4933d
commit
59194b8ab2
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ struct SwShapeTask : SwTask
|
|||
Additionally, the stroke style should not be dashed. */
|
||||
bool antialiasing(float strokeWidth)
|
||||
{
|
||||
return strokeWidth < 2.0f || rshape->stroke->dashCnt > 0 || rshape->stroke->strokeFirst;
|
||||
return strokeWidth < 2.0f || rshape->stroke->dashCnt > 0 || rshape->stroke->strokeFirst || rshape->strokeTrim();
|
||||
}
|
||||
|
||||
float validStrokeWidth()
|
||||
|
|
Loading…
Add table
Reference in a new issue