extern void gfx_SetViewRect(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
extern coord_t gfx_TransformX(Bitmap *bm, vcoord_t x);
extern coord_t gfx_TransformY(Bitmap *bm, vcoord_t y);
extern void gfx_VDrawLine(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
extern void gfx_SetViewRect(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
extern coord_t gfx_TransformX(Bitmap *bm, vcoord_t x);
extern coord_t gfx_TransformY(Bitmap *bm, vcoord_t y);
extern void gfx_VDrawLine(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);