How do I draw simple graphics in C#?

后端 未结 9 869
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 02:33

I just want to draw simple 2D objects like circle, line, square etc in C#. How do I do that? Back in the Turbo C++ days I remember initializing some graphics library for doi

9条回答
  •  不知归路
    2020-12-10 02:56

    Read about GDI, GDI+, System.Drawing namespace, for example here.
    DirectX is not something you would use to draw simple shapes, rather render complicated 3D stuff, also, using DX Api under C# is a bit trickier (although not that hard).

提交回复
热议问题