eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
D4D BMP DRAW API Types Specification
Collaboration diagram for D4D BMP DRAW API Types Specification:

Data Structures

struct  D4D_BMP
 D4D_BMP eGUI main image structure. More...
 
struct  D4D_EXTIMG_FUNC
 D4D_EXTIMG_FUNC API structure for eGUI image decoders. More...
 

Typedefs

typedef Byte D4D_BMP_PROPERTIES
 D4D_BMP_PROPERTIES type of image properties. More...
 

Enumerations

enum  D4D_EXTIMG_TYPE { D4D_EXTIMG_UNKNOWN, D4D_EXTIMG_INTD4D, D4D_EXTIMG_D4D, D4D_EXTIMG_BMP, D4D_EXTIMG_ITEMS_CNT }
 D4D_EXTIMG_TYPE eGUI supported image type enumeration. More...
 

Detailed Description

This section specifies the exact type for each typedef definition.


Data Structure Documentation

struct D4D_BMP
Collaboration diagram for D4D_BMP:
Collaboration graph

Data Fields

const void * pData
 Pointer to data to internal memory. In case of external source of image this must be NULL. More...
 
const void * pParam
 Pointer to pallete to internal memory. In case of external source of image is used as a pointer to file path. More...
 

Field Documentation

const void* pData

Pointer to data to internal memory. In case of external source of image this must be NULL.

Definition at line 102 of file d4d_bmp.h.

const void* pParam

Pointer to pallete to internal memory. In case of external source of image is used as a pointer to file path.

Definition at line 103 of file d4d_bmp.h.

struct D4D_EXTIMG_FUNC
Collaboration diagram for D4D_EXTIMG_FUNC:
Collaboration graph

Data Fields

void(* D4D_ImgDecDraw )(D4D_COOR x, D4D_COOR y, D4D_CHAR *pFileName, D4D_BOOL greyScale, D4D_COOR radius)
 Image draw function. More...
 
D4D_COOR(* D4D_ImgDecGetWidth )(D4D_CHAR *pFileName)
 Get image width function. More...
 
D4D_COOR(* D4D_ImgDecGetHeight )(D4D_CHAR *pFileName)
 Get image height function. More...
 
D4D_SIZE(* D4D_ImgDecGetSize )(D4D_CHAR *pFileName)
 Get image size function. More...
 
int(* D4D_ImgDecGetHeader )(D4D_CHAR *pFileName, void *pBuff, int max_size)
 Get image header function. More...
 

Field Documentation

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

Image draw function.

Definition at line 109 of file d4d_bmp.h.

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

Get image header function.

Definition at line 113 of file d4d_bmp.h.

D4D_COOR(* D4D_ImgDecGetHeight)(D4D_CHAR *pFileName)

Get image height function.

Definition at line 111 of file d4d_bmp.h.

D4D_SIZE(* D4D_ImgDecGetSize)(D4D_CHAR *pFileName)

Get image size function.

Definition at line 112 of file d4d_bmp.h.

D4D_COOR(* D4D_ImgDecGetWidth)(D4D_CHAR *pFileName)

Get image width function.

Definition at line 110 of file d4d_bmp.h.

Typedef Documentation

D4D_BMP_PROPERTIES type of image properties.

Definition at line 117 of file d4d_bmp.h.

Enumeration Type Documentation

D4D_EXTIMG_TYPE eGUI supported image type enumeration.

Enumerator
D4D_EXTIMG_UNKNOWN 

Uknown image format - do nothing.

D4D_EXTIMG_INTD4D 

Internal memory eGUI format of image.

D4D_EXTIMG_D4D 

External memory eGUI format of image.

D4D_EXTIMG_BMP 

External memory MicroSoft BMP format of image.

D4D_EXTIMG_ITEMS_CNT 

Just last item where is stored the count of the image decoder. Keep it on last position.

Definition at line 90 of file d4d_bmp.h.