Moving Image Under Rectangle of Selection

Example requests & Code samples for GdPicture Toolkits.
Post Reply
rshih
Posts: 3
Joined: Thu Sep 27, 2012 8:38 pm

Moving Image Under Rectangle of Selection

Post by rshih » Tue Nov 06, 2012 2:33 am

Hello, I am trying to develop a way to allow the user to edit image files (cut/copy/paste) and use the Rectangle of Selection feature to move highlighted areas around on a document. I already know how to cut/delete sections (using DrawFilledRectangle with a white color), but I cannot figure out a way to drag and drop the selected area to another spot. Is there any code examples if this is possible? Thank you for any help

rshih
Posts: 3
Joined: Thu Sep 27, 2012 8:38 pm

Re: Moving Image Under Rectangle of Selection

Post by rshih » Wed Nov 07, 2012 10:04 am

Hello, I've figured out how to copy/cut and paste sections around on a single page, but I am looking for something smoother. For example, while moving an area (using the rectangle of selection) I would like to have it move in real-time so the user can position it accurately. I would like to develop something similar to the user experience in MSPAINT, etc. Any suggestions would be appreciated!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests