Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top