projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stm32-p103: align the interrupt vector table to 1K boundary.
[bertos.git]
/
bertos
/
gfx
/
gfx.h
diff --git
a/bertos/gfx/gfx.h
b/bertos/gfx/gfx.h
index dfdb5df4b89482e5b4b18b39f756c54c53330829..eeef5bc7b9dd19887997eb96ccae49e7bb9a6095 100644
(file)
--- a/
bertos/gfx/gfx.h
+++ b/
bertos/gfx/gfx.h
@@
-154,7
+154,7
@@
typedef struct Image
* Compute the size in bytes of a raster suitable for
* holding a bitmap of \a width x \a height pixels.
*/
* Compute the size in bytes of a raster suitable for
* holding a bitmap of \a width x \a height pixels.
*/
- #define RAST_SIZE(width, height) ( ((
width) + 7
/ 8) * (height) )
+ #define RAST_SIZE(width, height) ( ((
(width) + 7)
/ 8) * (height) )
#elif CONFIG_BITMAP_FMT == BITMAP_FMT_PLANAR_V_LSB
/**
#elif CONFIG_BITMAP_FMT == BITMAP_FMT_PLANAR_V_LSB
/**
@@
-182,7
+182,7
@@
void gfx_lineTo (Bitmap *bm, coord_t x, coord_t y);
void gfx_setClipRect(Bitmap *bm, coord_t xmin, coord_t ymin, coord_t xmax, coord_t ymax);
#if CPU_HARVARD
void gfx_setClipRect(Bitmap *bm, coord_t xmin, coord_t ymin, coord_t xmax, coord_t ymax);
#if CPU_HARVARD
- #include <
mware
/pgm.h>
+ #include <
cpu
/pgm.h>
void gfx_blit_P(Bitmap *bm, const pgm_uint8_t *raster);
#endif
void gfx_blit_P(Bitmap *bm, const pgm_uint8_t *raster);
#endif