|
|
|
@ -135,6 +135,9 @@ void gl_draw_bar(gl_rect_t rect, gl_color_t color);
|
|
|
|
|
// The destination rectangle may not be fully filled if the source bitmap
|
|
|
|
|
// is smaller then destination rectangle or if the bitmap is translated by
|
|
|
|
|
// an offset partially or completely outside the destination rectangle.
|
|
|
|
|
//
|
|
|
|
|
// Currently, we use `gl_draw_bitmap` exclusively for text rendering.
|
|
|
|
|
// Not all bitmap formats are supported now. Please see the implementation.
|
|
|
|
|
void gl_draw_bitmap(gl_rect_t rect, const gl_bitmap_t* bitmap);
|
|
|
|
|
|
|
|
|
|
// Draws a text to the specified position.
|
|
|
|
|