add bitmap drawing

This commit is contained in:
Adolfo Reyna
2026-01-13 21:47:03 -05:00
parent 5e0fe7c6d9
commit 28310a4eb5
5 changed files with 972 additions and 2 deletions

View File

@@ -60,6 +60,9 @@ public:
void draw_filled_polygon(const std::vector<std::pair<int, int>>& points, bool on);
void draw_arc(int center_x, int center_y, int radius, int start_angle, int end_angle, bool on);
// Bitmap drawing
void draw_bitmap(const unsigned char* bitmap, int x, int y, int width, int height, bool invert = false);
// Clipping functions
void set_clip_rect(int x, int y, int width, int height);
void reset_clip_rect();