/*#*
*#* $Log$
+ *#* Revision 1.5 2006/01/17 02:31:29 bernie
+ *#* Add bitmap format support; Improve some comments.
+ *#*
+ *#* Revision 1.4 2006/01/16 03:30:57 bernie
+ *#* Make header C++ friendly.
+ *#*
+ *#* Revision 1.3 2005/11/27 23:33:40 bernie
+ *#* Use appconfig.h instead of cfg/config.h.
+ *#*
*#* Revision 1.2 2005/11/04 18:17:45 bernie
*#* Fix header guards and includes for new location of gfx module.
*#*
#ifndef GFX_GFX_H
#define GFX_GFX_H
-#include <cfg/config.h>
+#include <appconfig.h>
#include <cfg/compiler.h>
#include <cfg/cpu.h>
+EXTERN_C_BEGIN
/*! Common type for coordinates expressed in pixel units */
typedef int coord_t;
{
uint8_t *raster; /*!< Pointer to byte array to hold the data */
coord_t width, height; /*!< Width/Height in pixels */
+ coord_t stride; /*!< Bytes per row. */
coord_t penX, penY; /*!< Current pen position MoveTo()/LineTo() */
Rect cr; /*!< Clip drawing inside this rectangle */
extern void gfx_vline(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
#endif /* CONFIG_GFX_VCOORDS */
+EXTERN_C_END
+
#endif /* GFX_GFX_H */