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

discussion #4

Open
jsbain opened this issue May 12, 2016 · 0 comments
Open

discussion #4

jsbain opened this issue May 12, 2016 · 0 comments

Comments

@jsbain
Copy link

jsbain commented May 12, 2016

ok, hopefully these versions make a little more sense.

implementing a slider should be easy -- just replace the textview with a slider, and use self.scale.value instead of float(self.scale.text) everywhere it is used.

zooming will be tricky. someone published a gestures module which can be used to identify pan/zoom. but where it gets tricky is now we have to offset and scale the drawing and image. maybe ui.Transform will work.

Adding a new image should be easy if you add a button for a file menu. omz's file picker might work well there.

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

1 participant