Download Graphics API User`s Manual

Transcript
GAPI Graphics API User’s Manual
3.1.4
BMP_Width
Extract width information from BMP_type structure.
Format
sI16 BMP_Width(BMP_type const *const pBmp);
Parameters
pBmp
Pointer to the BMP structure.
Return Values
Width of the raster as defined in the BMP structure.
Properties
Prototyped in file ”gapi.h”
Implemented in file “gapi_bmp.c”
Description
Request the width field of the BMP structure. While the BMP format allocates 4 bytes to this field, this API
uses at most a 16 bit size.
Example
BMP_type wrapper;
{
sI16 width=BMP_Width(&wrapper);
}
15