Paint program!
hi
i am working in a paint program...........using gdi+...and i can make lines and rectangle with the mouse like the example in the book of graphic programming with gdi+ chapter 3,4
the problem is that i wanna add the ability to select the shapes i draw by the mouse and resize them with the mouse too...like in macromedia flash ...also to make things linke group and ungroup
also i wanna make undo and redo..........for drawings
how can i make this?
thanks for your help

Mahesh ChandRank #1 · 393.3K reputationPosted Apr 21, 2004, 9:41 AM EDT
asic104 reputationPosted Apr 21, 2004, 12:56 PM EDT
asic104 reputationPosted Apr 27, 2004, 3:40 AM EDT
xxdneu2 reputationPosted Jun 7, 2004, 9:18 AM EDT
gos_menia4 reputationPosted Jun 25, 2004, 5:59 PM EDT
gos_menia4 reputationPosted Jun 25, 2004, 6:03 PM EDT
Josh9 reputationPosted Jul 19, 2005, 7:16 AM EDT
http://www.eecs.wsu.edu/paint.net/
It's under the MIT license so you should be able to see the source code and learn all kinds of cool things.
Mahesh ChandRank #1 · 393.3K reputationPosted Jul 19, 2005, 11:45 AM EDT
do this, you may want to create an array of objects, which stores objects (including size, location, z-order etc) and when you click, you need to figure out what image was selected. After that you can change image by adding selection or soemthing and on mouse move you have to move the selected
image as well.
Hope it helps.