API Question Text rotation within MFD's

flyer

Member
Joined
Jan 20, 2010
Messages
56
Reaction score
0
Points
6
Hi there,

I wonder if somebody could point me in the right direction on this...

I've managed to produce an MFD in C++ thanks to some tutorials and people who have included their source code with their releases (thank you dumbo2007 et al http://www.orbiter-forum.com/showthread.php?t=15039&highlight=MFD+source+code).

Now I have another idea for an MFD but I would like to be able to print rotated text into the MFD screen. Is there a way to do this? If possible it would be nice to specify an angle for the text rotation.

If anyone has any suggestions I would appreciate it. I have tried to search here but could not find anything.

Thanks everyone,


flyer


I saw this thread http://www.orbiter-forum.com/showthread.php?t=16640&highlight=text+angle but judging by the lack of replies there probably isn't much hope...
 
Last edited:

jthill

Member
Joined
Apr 10, 2010
Messages
99
Reaction score
0
Points
6
oapiCreateFont's orientation parameter might do it. Check the MFD template in the samples.

(added by edit:) point being, regardless of what that thread says, the MFD does display text on a 45 degree baseline.
 
Last edited:

flyer

Member
Joined
Jan 20, 2010
Messages
56
Reaction score
0
Points
6
Thanks for the reply jthill - I actually found that just as you posted I think!

It has taken a rewrite into the sketchpad way of thinking but I have got it to work now the way I wanted

:thumbup:
 
Top