Follow-up Comment #4, bug #20317 (project mypaint):

Attached is a patch for adding automatic zoom/centering for the preview
window. Apply on top of the previous patch.

It seems to work ok, though I don't think it is particularly efficient given
it recalculates and draws for every call of the 'canvas observer' callback.

I am less certain how to go about implementing a preview rectangle for the
window. (Is it useful if the window automatically re-centers?)

Ali

(file #16802)
    _______________________________________________________

Additional Item Attachment:

File name: 0002-Implement-auto-center-zoom-for-preview-window.patch Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20317>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to