C
C#8mo ago
De1337

❔ 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
JakenVeina
JakenVeina8mo ago
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.
JakenVeina
JakenVeina8mo ago
furthermore
JakenVeina
JakenVeina8mo ago
Graphics.DrawEllipse Method (System.Drawing)
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
De1337
De13378mo ago
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
JakenVeina
JakenVeina8mo ago
well, if you wanna do geometric drawings, you're gonna have to get math-y
Accord
Accord8mo ago
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.