How to make the text rotate?

I use Prs3d_Text::Draw to produce some texts, and I want to make the texts rotate.
How can I do it?

thank you!

Paul Jimenez's picture

In case it's possible (I haven't tried), check Prs3d_TextAspect::SetAngle and probably Graphic3d_AspectText3d::SetTextureMappedFont. I guess the latter is the trick to get it working, but, once again, it's just a guess.

Don't forget to post your findings.

zhangzhigang824's picture

Hi Paul,

thank you!

I have used Prs3d_TextAspect::SetAngle and Graphic3d_AspectText3d::SetTextureMappedFont to do it ,but it doesn't work , maybe I have not used the appropriate way.

thank s again!

Arno Hofmann's picture

Hi zhangzhigang824,

did you solve your problem or do you have a workaround?

Kind regards