MGL_getPCXSizeExt
Obtain the dimensions of a PCX file from an opened file.
Declaration
ibool MGLAPI MGL_getPCXSizeExt(
FILE *f,
ulong dwOffset,
ulong dwSize,
int *width,
int *height,
int *bitsPerPixel)
Prototype In
mgraph.h
Parameters
f |
Open binary file to read bitmap from |
dwOffset |
Offset to start of PCX file |
dwSize |
Size of PCX file |
width |
Width of bitmap |
height |
Height of bitmap |
bitsPerPixel |
Pixel depth of bitmap |
Return Value
True if PCX was found, false if not.
Description
This function is the same as MGL_getPCXSize, however it works with a previously opened file. This allows you to create your own large files with multiple files embedded in them.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com