We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我自己最近在写一个画图板的项目,想要参考一下本项目的橡皮擦是如何实现的,研究源码的过程中,我当前是追踪到WBGraphicsScene::eraseLineTo()这个函数中,发现该函数应该就是实现橡皮擦功能的关键,这里面涉及到碰撞检测相关东西我都能理解。唯独,无法理解的就是WBGraphicsStroke这个类对象的功能是什么? Stroke应该是笔画的意思,但是为什么一个笔画会关联到多个WBGraphicsPolygonItem?
The text was updated successfully, but these errors were encountered:
我是这样看的:
Sorry, something went wrong.
No branches or pull requests
我自己最近在写一个画图板的项目,想要参考一下本项目的橡皮擦是如何实现的,研究源码的过程中,我当前是追踪到WBGraphicsScene::eraseLineTo()这个函数中,发现该函数应该就是实现橡皮擦功能的关键,这里面涉及到碰撞检测相关东西我都能理解。唯独,无法理解的就是WBGraphicsStroke这个类对象的功能是什么?
Stroke应该是笔画的意思,但是为什么一个笔画会关联到多个WBGraphicsPolygonItem?
The text was updated successfully, but these errors were encountered: