Supported Browsers Home   
MGL_availablePCX Previous   
MGL_availablePages Next   
External Functions Up   

MGL_availablePNG

Determines if the specified PNG bitmap file is available for use.

Declaration

ibool MGLAPI MGL_availablePNG(
    const char *PNGName)

Prototype In

mgraph.h

Parameters

PNGName

Name of PNG bitmap file to check for

 

Return Value

True if the a PNG bitmap file exists, false if not.

Description

Attempt to locate the specified PNG file, and verify that it is available for use. If the file exists the routine checks the signature to verify that it is really a PNG file. See MGL_loadPNG for more information on the algorithm that MGL uses when searching for bitmap files on disk.

See Also

MGL_loadPNG

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