Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
D2D デバイスでアークを描画する必要があります。これを行う関数はありますか? (DrawLine や DrawEllipse など) または、D2D1_ARC_SEGMENT 構造を返す ArcSegment 関数があることを確認しましたが、どうすればそれを描画できますか?
はD2D1_ARC_SEGMENT、パス ジオメトリを設定するときに使用できます ( ID2D1PathGeometry)。必要な弧をパスに追加したら、 を使用して描くことができますID2D1RenderTarget::Draw/FillGeometry()。
D2D1_ARC_SEGMENT
ID2D1PathGeometry
ID2D1RenderTarget::Draw/FillGeometry()