mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
sw_engine: fix a missing anti-aliasing
enable fill anti-aliasing when the stroke is trimming.
This commit is contained in:
parent
de693c3e3e
commit
1099c65fe7
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