eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_imgdec_bmp.c File Reference
Include dependency graph for d4d_imgdec_bmp.c:

Macros

#define COUNTER
 
#define COLOR_IX
 
#define OFFSET_X
 
#define OFFSET_Y
 
#define COLOR
 

Functions

static void D4D_PrintPixel (D4D_COLOR color, D4D_BOOL greyScale)
 
void D4D_ImgDecBmpDraw (D4D_COOR x, D4D_COOR y, D4D_CHAR *pFileName, D4D_BOOL greyScale, D4D_COOR radius)
 
D4D_COOR D4D_ImgDecBmpGetWidth (D4D_CHAR *pFileName)
 
D4D_COOR D4D_ImgDecBmpGetHeight (D4D_CHAR *pFileName)
 
D4D_SIZE D4D_ImgDecBmpGetSize (D4D_CHAR *pFileName)
 
int D4D_ImgDecBmpGetHeader (D4D_CHAR *pFileName, void *pBuff, int max_size)
 
D4D_BOOL D4D_PrintScreenToBMP (D4D_CHAR *pFileName)
 The function convert screen into BMP file. More...
 

Detailed Description

D4D driver external bmp files decoder functions c file.

Author
Petr Gargulak
Version
0.0.17.0
Date
Oct-2-2013

Definition in file d4d_imgdec_bmp.c.

Macro Definition Documentation

#define COLOR
#define COLOR_IX
#define COUNTER
#define OFFSET_X
#define OFFSET_Y

Function Documentation

void D4D_ImgDecBmpDraw ( D4D_COOR  x,
D4D_COOR  y,
D4D_CHAR pFileName,
D4D_BOOL  greyScale,
D4D_COOR  radius 
)

Draw BMP image file

Definition at line 67 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

int D4D_ImgDecBmpGetHeader ( D4D_CHAR pFileName,
void *  pBuff,
int  max_size 
)

Get header - BMP image file

Definition at line 783 of file d4d_imgdec_bmp.c.

Here is the caller graph for this function:

D4D_COOR D4D_ImgDecBmpGetHeight ( D4D_CHAR pFileName)

Get height - BMP image file

Definition at line 741 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

D4D_SIZE D4D_ImgDecBmpGetSize ( D4D_CHAR pFileName)

Get size - BMP image file

Definition at line 754 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_COOR D4D_ImgDecBmpGetWidth ( D4D_CHAR pFileName)

Get width - BMP image file

Definition at line 729 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

static void D4D_PrintPixel ( D4D_COLOR  color,
D4D_BOOL  greyScale 
)
static

Definition at line 54 of file d4d_imgdec_bmp.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_BOOL D4D_PrintScreenToBMP ( D4D_CHAR pFileName)

The function convert screen into BMP file.

Parameters
pFileName- pointer file name string
Returns
D4D_TRUE - The BMP file has been saved, D4D_FALSE - error in creating BMP file
Note
The eGUI external buffer size MUST be >= 64

Definition at line 862 of file d4d_imgdec_bmp.c.

Here is the call graph for this function: