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