[ Maverik Level 1 functions ]


mav_stringDisplay

mav_stringDisplay, mav_stringDisplayLeft, mav_stringDisplayCentre, mav_stringDisplayRight

Summary

Display annotation text in a window.


Syntax

void mav_stringDisplay(MAV_window *w, char *s, int col, int font, float x, float y);

void mav_stringDisplayLeft(MAV_window *w, char *s, int col, int font, float x, float y);

void mav_stringDisplayCentre(MAV_window *w, char *s, int col, int font, float x, float y);

void mav_stringDisplayRight(MAV_window *w, char *s, int col, int font, float x, float y);


Description

These functions display string s in window w at position x,y with relevant justification in colour col and font font. mav_stringDisplay produces the same results as mav_stringDisplayLeft.

These functions are intended for displaying "annotation" text, which remains "glued" to the NDC plane and always legible (provided the left most edge of the text is within the window).


Back to the index page.