I need to draw an arc in a D2D device, is there a function that does this?(something like DrawLine or DrawEllipse)
Otherwise, i’ve seen that there is the ArcSegment function that returns a D2D1_ARC_SEGMENT structure, how can i draw that?
I need to draw an arc in a D2D device, is there a function
Share
The
D2D1_ARC_SEGMENTcan be used when populating a path geometry (ID2D1PathGeometry). Once you’ve added the arc you want to the path, you can draw it usingID2D1RenderTarget::Draw/FillGeometry().