|
Post by Helpless on Nov 15, 2002 15:40:19 GMT
i need help in making a simple paintbrush program. how can i make the program stop painting at any colored line other than white? i can get it tostop at one color using the "bordercolor" feature but that recognises only one color at a time whoever has a solution PLEEEEAAAAASE send it asap, thanx
|
|
Elias
Junior Member
Posts: 78
|
Post by Elias on Jan 21, 2003 17:59:14 GMT
the solution is a bit tricky, you have t ocreate a buffer, then change all colors to black (all exept your area) then in the buffer use paint, then (using basic code) copy only the painted area to the real painting... and wala... look for info on EMS in order to get enough memory to make a big enough buffer.
|
|