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

如何联系作者 #11

Open
211sx opened this issue Aug 24, 2020 · 4 comments
Open

如何联系作者 #11

211sx opened this issue Aug 24, 2020 · 4 comments

Comments

@211sx
Copy link

211sx commented Aug 24, 2020

你好,能加微信orQQ你吗,有个问题想请教探讨

@zjun615
Copy link
Owner

zjun615 commented Aug 24, 2020

这里可以讨论啊,把问题抛出来

@211sx
Copy link
Author

211sx commented Aug 24, 2020

如何在你刻度尺下面补充循环绘制5.76cm的方格Rect,要求精确,不能出现误差。重点是精确

@211sx
Copy link
Author

211sx commented Aug 24, 2020

我参考了市面上的刻度尺app,好像没有能跟实际尺子比对一样的

@zjun615
Copy link
Owner

zjun615 commented Aug 25, 2020

绘制方法的单位都是px,需要把你的公制转成px,参考:
TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_MM, mm, getResources().getDisplayMetrics())

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