Skip to content

Commit

Permalink
Some more work on soft edges
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugh Sanderson committed Apr 14, 2024
1 parent c58f3e9 commit ac4d1f6
Show file tree
Hide file tree
Showing 3 changed files with 360 additions and 75 deletions.
5 changes: 3 additions & 2 deletions project/src/common/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,10 @@ void Graphics::lineStyle(double thickness, unsigned int color, double alpha,
StrokeCaps caps,
StrokeJoints joints, double miterLimit)
{
Flush(true,false,true);
endTiles();
// Finish solid if changing mPolyAA
Flush(true,mFillJob.mPolyAA,true);
mFillJob.mPolyAA = false;
endTiles();
if (mLineJob.mStroke)
{
mLineJob.mStroke->DecRef();
Expand Down
Loading

0 comments on commit ac4d1f6

Please sign in to comment.