Text in the Simulation View

Put the explanation where it belongs.

Explore the text-placement interface. Keep function syntax and display behavior exact when annotating a view.

Place_Text -

Any model can write arbitrary sized text on the screen by calling the following:

void Place_Text( float x, float y, char *strng, int font_size, char orientation, int txt_color )

Where:

  • x, y are screen coords.
  • string is your character string message.
  • font_size = 10 is normal. Larger text would be 15, 20, etc..
  • orientation is 'h' for horizontal, 'v' for vertical.
  • txt_color is the color number. Four is the default text-yellow.

This page is an editorial rewrite of source documentation. Historical status, availability, and platform notes are not independently verified for a current release. Technical examples are reference material, not a live simulator.