42
37
* Get the width, in pexels, of a message.
44
39
* @param message_len the length of the message
45
* @param scale taxt scaling factor
47
int get_width( int message_len, int scale );
41
int get_width( int message_len );
50
44
* Draw a column of pixels at pixel-offset x in the message.
52
46
* @param message the message
53
* @param message_len the length of the message (to save it being
47
* @param message_len the length of the message (to save it being calculated)
55
48
* @param x the pixel column of the message to draw
56
49
* @param y_flip true to draw up-side down
57
50
* @param y_shift shift the drawing up/down
58
* @param scale taxt scaling factor
60
52
void render( const char *message, int message_len, int x,
61
bool y_flip, int y_shift, int scale );
53
bool y_flip, int y_shift );
64
56
* Reset the output buffer.
66
58
void reset_buffer();
70
* Notify renderer that the output buffer will require rendering.
76
61
* Output the output buffer (and reset the output buffer).
78
63
void output_buffer();
81
* Get the font number in use.
66
* Set the font number to use
88
* Switch to the next font.
68
* @param font_num font number
70
void select_font( int font_num );