Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正关于线型设置的 bug #13

Merged
merged 2 commits into from
Apr 13, 2020
Merged

Conversation

chirsz-ever
Copy link
Collaborator

#11

setlinewidth()仅仅是设置一下线宽参数,实际需要在setcolor调用后生效,修正为立即生效

setlinestyle(),当线宽大于1时,线型失效

修正 `setlinewidth` 为立即更新
增加了辅助函数 `upattern2array`
设置 PS_USERSTYLE 得到正确间隔
改进了 upattern 转换算法
在 `setcolor`、`setlinestyle`、`setlinewidth` 中正确地
地使用 `ExtCreatePen`
@yixy-only
Copy link
Collaborator

测试完成,可以merge了 @wysaid

@wysaid wysaid merged commit 21a3cf1 into wysaid:master Apr 13, 2020
@chirsz-ever chirsz-ever deleted the fix-setlinexxx branch April 13, 2020 03:55
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Apr 15, 2020
@FrankHB
Copy link

FrankHB commented Apr 15, 2020

还能简化

FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 7, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 13, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 14, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 20, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
FrankHB added a commit to FrankHB/YEGE that referenced this pull request Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants