MGL_loadPCXExt

Load a lightweight PCX file from disk using an open file.

Declaration

bitmap_t * MGLAPI MGL_loadPCXExt(
FILE *f,
ulong dwOffset,
ulong dwSize,
ibool loadPalette)

Prototype In

mgraph.h

Parameters

f | Open binary file to read bitmap from
dwOffset | Offset to start of PCX file within open file
dwSize | Size of PCX file in bytes
loadPalette | If true, palette values are loaded as well.

Return Value

Pointer to the loaded bitmap file

Description

This function is the same as MGL_loadPCX, however it loads the file from a previously open file. This allows you to create your own large files with multiple files embedded in them.

See Also

MGL_loadPCX, MGL_loadBitmap

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com