Hi all,

I really enjoy mypaint and so I have made an attempt to contribute back to
your community.

I haven't done too much Python coding but managed to put together a patch
to add a Fit option to the View menu.

While the Reset and Center command is sets the view setting to their
default, if the image is many times larger than the original window you can
end up needing to play with the camera to get everything in view.

The Fit command (F10), is designed to fit the current image into the window
frame. I think this is useful since the command is relative to the image as
opposed to the default settings like Reset and Center.

The Fit command also takes into account the current rotation and mirroring
of an image, so the user can continue to work with the same canvas settings.

I signed up for a Gitorious account and created a branch called
rj/fit_window_frame, after cloning the mypaint project.

https://gitorious.org/~optigon/mypaint/optigon-mypaint

The code is working as far as I've tested, but since Python is not my main
language I was hoping for some pointers if anyone has a time to review the
changes.

Thanks again for the excellent program.

regards,
Richard
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to