Tscope5
Main Page
Related Pages
Files
Examples
textio1.c
text parameters
#include <tscope5.h>
int
main()
{
ts5_install_display
();
ts5_set_text_alignment
(TS5_ALIGN_LEFT);
ts5_printf
(0.0, 30.0,
"left aligned text"
);
ts5_set_text_alignment
(TS5_ALIGN_CENTER);
ts5_printf
(0.0, 10.0,
"centered text"
);
ts5_set_text_alignment
(TS5_ALIGN_RIGHT);
ts5_printf
(0.0, -10.0,
"right aligned text"
);
ts5_printf_justify
(-125.0, 125.0, -30.0, 100.0,
"some outlined text"
);
return
0;
}