How to get the coordinates for drawing in GDI+
Hello. I'm using the FillClosedCurve method to draw shapes on the points.
To retrieve the points use the following principle : put the picture on the background of the form and pressing the form X and Y of the cursor is added to a list of points. I need to draw a treble clef , please tell me how comfortable you can get a list of points to build , maybe how to get them from png file ?
I found a solution. I checked in a cycle all pixels png file on alpha != 0 (I have the image without the background) , received the list of non-transparent pixels (750 x,y pairs) , and poured in a loop black color
Answered: 25-08-2012 в 01:39:44