Hello dear programmers!
I'm creating a "paintBrush" (like windows have):
I want to create a polyline (what you can call "FreeHand") , anyway, I understood I suppose to have a dynamic array of Points (for instence:
Point curvePoints = new Point;
But I get the following error:
Array creation must have array size or array initializer
Which means I'm doing something wrong in the defintion (I want a dynamic array) How do I define it?
Also You will have my gradedute, if you can show me how should I continue to create the poly line.. (what should I put in mouse move, down , up?)
0 · ·