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

添加带标签的文字 #19

Open
TBoyLi opened this issue Mar 5, 2018 · 4 comments
Open

添加带标签的文字 #19

TBoyLi opened this issue Mar 5, 2018 · 4 comments

Comments

@TBoyLi
Copy link

TBoyLi commented Mar 5, 2018

添加带背景标签的文字,比如
wx20180305-153636 2x

@TBoyLi
Copy link
Author

TBoyLi commented Mar 5, 2018

and 处于M模式的时候单击到画的圆,矩形等可以删除或者移动,楼主能给点思路吗?

@1993hzw
Copy link
Owner

1993hzw commented Mar 7, 2018

在draw文字时绘制标签图片。第二点可以参考文字贴图的实现。就是记录每次涂鸦的范围,点击是判断是否在某个涂鸦的范围内,是的话显示移动编辑的操作。

@TBoyLi
Copy link
Author

TBoyLi commented Mar 7, 2018

@1993hzw GraffitiSelectableItem类中的 isInIt方法对手绘直线等实用吗?如果是按矩形的范围来算的话,可能不太好

@TBoyLi
Copy link
Author

TBoyLi commented Mar 8, 2018

@1993hzw @1993hzwei 熟悉了楼主的代码之后,下手是无从下手,跪求大神有时间加一下手绘直线拖动问题。感谢。

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

No branches or pull requests

2 participants