eyBuildLib API Reference : eyBuildLib
ebbmp - BMP image lib
bmpRGB( ) - make RGB color
bmpPT( ) - make a point
bmpCreate( ) - create a new BMP image
bmpDestroy( ) - free the bmp handle
bmpSave( ) - save the memory bmp into bmp file
bmpPoint( ) - draw a pointer in position(y, x)
bmpPoint( ) - draw a pointer in position(y, x)
bmpRectFill( ) - draw a rectangle and fill it
bmpRGB( ) - make RGB color
int bmpRGB ( int r, int g, int b )
RGB color
bmpPT( ) - make a point
int bmpPT ( int y, /* height way */ int x /* width way */ )
pointer
bmpCreate( ) - create a new BMP image
BMP_HDL * bmpCreate ( unsigned width, unsigned height, int bits )
this routine create a new BMP image and returned the operation handle.
pointer to the operation handle, or NULL if ERROR
bmpDestroy( ) - free the bmp handle
int bmpDestroy ( BMP_HDL * phdr )
this routine free the bmp handle
OK/ERROR
bmpSave( ) - save the memory bmp into bmp file
int bmpSave ( BMP_HDL * phdr, FUNC_FWRITE funwrite, FILE * fp )
this routine save the memory bmp into bmp file, if filewrite equa to NULL, fwrite( ) will set as the default write routine.
OK/ERROR
bmpPoint( ) - draw a pointer in position(y, x)
int bmpPoint ( BMP_HDL * phdr, unsigned y, unsigned x, int color )
this routine draw a pointer in position(y, x)
OK/ERROR
bmpPoint( ) - draw a pointer in position(y, x)
int bmpLine ( BMP_HDL * phdr, unsigned point1, unsigned offset, int color )
this routine draw a pointer in position(y, x)
OK/ERROR
bmpRectFill( ) - draw a rectangle and fill it
int bmpRectFill ( BMP_HDL * phdr, unsigned point1, unsigned offset, int color )
this routine draw a rectangle from point1(y, x) offset(y, x) and fill it
OK/ERROR