Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void addStroke(IEnumerable<System.Drawing.Point> pointList, Ink myInk) {
- System.Drawing.Point[] points = new System.Drawing.Point[pointList.Count()];
- int p = 0;
- foreach(System.Drawing.Point point in pointList){
- points[p] = point;
- p++;
- }
- Stroke newStroke = myInk.CreateStroke(points);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement