PDA

Click to See Complete Forum and Search --> : how to make a stamp in different colors?


DMcManus
Oct 6th, 1999, 03:53 AM
OK.
I have a big picturebox control and I have some icons that a person can select and then click in the picturebox control and it is drawn onto the contrl. Now, the user has the option of changing the color sets so I can't make these drawings before in so many colors.
So, I've been left with having the only icons available be a square, rectangle, triangle, circle, colored in or not. Because these I can set a color and then literally draw them in the correct place.

I want to be able to use more than those shapes though, some of them pretty abstract, nothing I can draw in code.
So, here's my question (finally):
Is there a way to make a bmp file or something and make it black and white and then "change" the black color to whatever color the person has selected before (or after) copying the file onto the picturebox control??
Is there some way I can use a MaskingColor to do this? Some bitwise operation??
Any help would be greatly appreciated.
Thanks in Advance.