I do this using a callback from Tkinter, (and do the calculations in PIL) but you could get the callbacks from any windowing system you cared to use.
On Tue, Apr 7, 2009 at 11:25 AM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote: > Are you doing this purely with PIL or some toolkit? I would use a callback > that each time the mouse moves you move the image. > > What about rubber lines, stretching, for an to resize an object like a box? > > Laura & Edward Cannon wrote: >> >> I have had great success "moving" items across images by keeping a >> copy of the original background, pasting into a copy, and updating the >> copy as needed. This may not be perfectly elegant, but it works well >> and is quite fast on modern hardware. >> ERC >> >> On Tue, Apr 7, 2009 at 7:00 AM, Wayne Watson >> <sierra_mtnv...@sbcglobal.net> wrote: >> > > -- > > Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > > (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)**** > > "Less than all cannot satisfy Man." -- William Blake > > _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig