X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=gfx%2Fgfx.h;h=5fe1e30016153f7ae0b1818acad099f014d3f942;hb=692e9c10552590debbd51552d71e49960f323b6b;hp=be008f029c5bc996114616865fd23184cbe82151;hpb=1661811803a323488afb5617a01a3263ecff9d9c;p=bertos.git diff --git a/gfx/gfx.h b/gfx/gfx.h index be008f02..5fe1e300 100755 --- a/gfx/gfx.h +++ b/gfx/gfx.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.16 2006/05/27 17:17:34 bernie + *#* Optimize away divisions in RAST_ADDR/MASK macros. + *#* *#* Revision 1.15 2006/05/25 23:35:40 bernie *#* Cleanup. *#* @@ -78,6 +81,7 @@ EXTERN_C_BEGIN /*! Common type for coordinates expressed in pixel units */ typedef int coord_t; +typedef unsigned int ucoord_t; #if CONFIG_GFX_VCOORDS /*! Common type for coordinates expressed in logical units */ @@ -126,8 +130,11 @@ typedef struct Rect { coord_t xmin, ymin, xmax, ymax; } Rect; /* Fwd decl */ struct Font; -/*! +/** * Control structure to draw in a bitmap + * + * \todo For better ortogonality, split this structure into + * an Image and a plain drawing context called Painter. */ typedef struct Bitmap {