10 unsigned char *get_framebuffer();
11 Pixmap *get_framebuffer_pixmap();
13 Rect get_screen_size();
14 int get_color_depth();
16 void set_clipping_rect(const Rect &clip_rect);
17 const Rect &get_clipping_rect();
19 void clear_screen(int r, int g, int b);
20 void fill_rect(const Rect &rect, int r, int g, int b);
22 void set_cursor_visibility(bool visible);
24 void blit(unsigned char *src_img, const Rect &src_rect, unsigned char* dest_img,
25 const Rect &dest_rect, int dest_x, int dest_y);
27 void blit_key(unsigned char *src_img, const Rect &src_rect, unsigned char* dest_img,
28 const Rect &dest_rect, int dest_x, int dest_y, int key_r, int key_g, int key_b);
32 void wait_vsync(); // vertical synchronization