22 #ifndef M4_GRAPHICS_GR_BUFF_H 23 #define M4_GRAPHICS_GR_BUFF_H 25 #include "m4/m4_types.h" 26 #include "m4/mem/reloc.h" 37 int32 w, h, x_off, y_off, pitch, height;
40 GrBuff(int32 _w, int32 _h);
41 GrBuff(int32 _w, int32 _h, int32 _x_off, int32 _y_off, int32 _pitch, int32 _height);
58 void refresh_video(int32 scrnX, int32 scrnY, int32 x1, int32 y1, int32 x2, int32 y2);
61 int32 gr_buffer_free(
Buffer *buf);
62 byte *gr_buffer_pointer(
Buffer *buf, int32 x, int32 y);
63 const byte *gr_buffer_pointer(
const Buffer *buf, int32 x, int32 y);
64 int32 gr_buffer_init(
Buffer *buf,
const char *name, int32 w, int32 h);
76 int32 dx, int32 dy, int32 w, int32 h);
96 void GrBuff_Show(
void *s,
void *r,
void *b, int32 destX, int32 destY);
int32 gr_buffer_rect_fill(Buffer *target, int32 x1, int32 y1, int32 w, int32 h)
bool gr_buffer_rect_copy_2(const Buffer *from, Buffer *to, int32 sx, int32 sy, int32 dx, int32 dy, int32 w, int32 h)
Definition: m4_types.h:67
Definition: database.h:28
bool gr_buffer_rect_copy(Buffer *from, Buffer *to, int32 x, int32 y, int32 w, int32 h)