How to draw string to a bitmap image in WinRT

前端 未结 5 1734
执念已碎
执念已碎 2021-01-19 12:37

How do you draw a string to an image in winRT? In WinForms that could be done using drawstring() method inside the system.drawing name

5条回答
  •  旧巷少年郎
    2021-01-19 13:02

    Direct2D is a replacement for GDI in WinRT. So you'll have to use C++/CX with DirectX for drawing text.

    I don't have any examples for you, but maybe this link (and the links included) can help you on your way.

提交回复
热议问题