❔ WinForm Draw Polygon from Radius Info
I am interfacing with a piece of hardware that give out shapes in the form of radius in mm. I am trying to draw the shape on a winForm but all the draw options I see require the actual points rather than radius. Is there a way to accomplish this?
6 Replies
Graphics and Drawing - Windows Forms .NET Framework
Learn about the Graphics, Pen, Brush, and Color objects, and how to perform such tasks as drawing shapes, drawing text, or displaying images in Windows Forms.
furthermore
Graphics.DrawEllipse Method (System.Drawing)
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
Yeah I saw these and as mentioned, they are all by x/y coord, not with a radius from center which is my problem. This is probably just math I'm not math-y enough to solve I'm sure
well, if you wanna do geometric drawings, you're gonna have to get math-y
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.