Skip to content

Commit

Permalink
improve agge line join
Browse files Browse the repository at this point in the history
  • Loading branch information
xianjimli committed Jun 27, 2024
1 parent e0f0751 commit a538651
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3rd/agge/agge/stroke_features.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ namespace agge
else
{
b2 = y2 - k2 * x2;
x = (y + b2) / k2;
x = (y - b2) / k2;
}
}
else
Expand Down Expand Up @@ -386,7 +386,7 @@ namespace agge
else
{
b1 = y1 - k1 * x1;
x = (y + b1) / k1;
x = (y - b1) / k1;
}
}
else
Expand Down
1 change: 1 addition & 0 deletions docs/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

2024/06/27
* 修复overlay导致对话框高亮消失的问题和overlay的焦点切换问题(感谢智明提供补丁)
* 修复了在agge模式下,当line_join为miter时出现的绘制错误(感谢泽武提供补丁)

2024/06/26
* icon\_at 增加 left\_top/left\_bottom/right\_top/right\_bottom四种位置。
Expand Down

0 comments on commit a538651

Please sign in to comment.