Functions | |
D4D_EXTIMG_TYPE | D4D_GetImgSrcType (D4D_BMP *pBmp) |
Function returns the type of image source. More... | |
void | D4D_DrawRBmpXY (D4D_COOR x, D4D_COOR y, const D4D_BMP *pBmp, D4D_BOOL greyScale, D4D_COOR radius) |
Function draw the bitmap on the specify coordination. More... | |
void | D4D_DrawBmpRect (D4D_POINT *ppt, D4D_SIZE *psz, const D4D_BMP *pBmp, D4D_BMP_PROPERTIES bmpProp, D4D_COLOR colorBkgd, D4D_BOOL greyScale) |
Function draw the bitmap on the specify coordination into rectangle. More... | |
D4D_SIZE | D4D_GetBmpSize (const D4D_BMP *pBmp) |
Function gets information about bitmap size. More... | |
D4D_COOR | D4D_GetBmpWidth (const D4D_BMP *pBmp) |
Function gets information about bitmap width. More... | |
D4D_COOR | D4D_GetBmpHeight (const D4D_BMP *pBmp) |
Function gets information about bitmap height. More... | |
int | D4D_GetBmpHeader (D4D_BMP *pBmp, void *pBuff, int max_size) |
Function gets image file header. More... | |
This section specifies the exact usage for each API function.
void D4D_DrawBmpRect | ( | D4D_POINT * | ppt, |
D4D_SIZE * | psz, | ||
const D4D_BMP * | pBmp, | ||
D4D_BMP_PROPERTIES | bmpProp, | ||
D4D_COLOR | colorBkgd, | ||
D4D_BOOL | greyScale | ||
) |
Function draw the bitmap on the specify coordination into rectangle.
ppt | - pointer on point structure of top left corner on screen to specify rectangle |
psz | - pointer on the size structure that defines size of the rectangle |
pBmp | - pointer on the bitmap structure |
bmpProp | - bitmap properties |
colorBkgd | - background color of bitmap |
greyScale | - drawing in greyScale |
Definition at line 240 of file d4d_bmp.c.
void D4D_DrawRBmpXY | ( | D4D_COOR | x, |
D4D_COOR | y, | ||
const D4D_BMP * | pBmp, | ||
D4D_BOOL | greyScale, | ||
D4D_COOR | radius | ||
) |
Function draw the bitmap on the specify coordination.
x | - coordination in X axis |
y | - coordination in Y axis |
pBmp | - pointer on the bitmap structure |
greyScale | - drawing in greyScale |
radius | - round corner radius |
Definition at line 205 of file d4d_bmp.c.
int D4D_GetBmpHeader | ( | D4D_BMP * | pBmp, |
void * | pBuff, | ||
int | max_size | ||
) |
Function gets image file header.
pBmp | - pointer on the bitmap structure |
pBuff | - buffer in application code that is prepared to store the image header |
max_size | - max_buffer size |
Definition at line 515 of file d4d_bmp.c.
Function gets information about bitmap height.
pBmp | - pointer on the bitmap structure |
Definition at line 481 of file d4d_bmp.c.
Function gets information about bitmap size.
pBmp | - pointer on the bitmap structure |
Definition at line 418 of file d4d_bmp.c.
Function gets information about bitmap width.
pBmp | - pointer on the bitmap structure |
Definition at line 450 of file d4d_bmp.c.
D4D_EXTIMG_TYPE D4D_GetImgSrcType | ( | D4D_BMP * | pBmp | ) |
Function returns the type of image source.
External Bitmap support
pBmp | - pointer on the bitmap structure |
Definition at line 143 of file d4d_bmp.c.