문제

I need to draw text along a curved path/bezier. Does somebody happen to have a tutorial ready or even some sample code to digest?

Thx

Fortis

도움이 되었습니까?

해결책

There is already such a sample on MSDN, which although is C++, you may be able to adapt to C#.

From the description:

This sample shows how to use Direct2D and DirectWrite to render a string of text along an animated, non-linear geometric path. The app renders "Hello, World!" repeated several times in different languages along a Bezier curve. The font style and size is constant.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top