1 #ifndef _RENDERER_8BPP_H
2 #define _RENDERER_8BPP_H
6 class Renderer_8bpp
: public Renderer
{
8 Renderer_8bpp(char *baseAddress
, int width
, int height
, int bytesPerRow
);
9 void DrawLine(int x1
, int y1
, int x2
, int y2
, char color
);
10 void FillRect(int x1
, int y1
, int x2
, int y2
, char color
);
11 void Blit(int x
, int y
, char image
[], int image_width
,
12 int image_height
, int img_bytes_per_row
);
13 void StretchBlit(const Rect
&imageRect
, const Rect
&displayRect
, char image
[],
14 int imageBytesPerRow
);
15 void CopyRect(const Rect
&source
, const Rect
&dest
);