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

🐛 贝塞尔曲线和直线处理线上文本行为不一致 #240

Open
Sauronzz opened this issue Jan 4, 2025 · 1 comment
Open

🐛 贝塞尔曲线和直线处理线上文本行为不一致 #240

Sauronzz opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Sauronzz
Copy link

Sauronzz commented Jan 4, 2025

发生了什么?

直线处理线上文本时会裁剪掉覆盖在文本下线段,而贝塞尔曲线似乎只会叠加一个透明度?这二者对于处理线上文本的行为不一致,是否应该保持相同的处理逻辑?

系统版本

Windows

附件

Image
Image

@Sauronzz Sauronzz added the bug Something isn't working label Jan 4, 2025
@github-project-automation github-project-automation bot moved this to 待讨论 in Project Graph Jan 4, 2025
@Littlefean
Copy link
Contributor

直线在当线上有文字时是分段渲染的,通过直线和矩形计算相交点的逻辑来计算出来如何绘制两段。
但贝塞尔曲线太难了,直接叠一个半透明的东西了就。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 待讨论
Development

No branches or pull requests

2 participants