Tag Archives: non-intersecting star

Draw a non-intersecting star in C#

The following NonIntersectingStarPoints method generates the points needed to draw a non-intersecting star and returns them in an array. // Return PointFs to define a non-intersecting star. private PointF[] NonIntersectingStarPoints( int num_points, Rectangle bounds) { // Make room for the … Continue reading

Posted in drawing, geometry, graphics, mathematics | Tagged , , , , , , , , , , , , , , | Leave a comment