Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATImage::PNGError
void CATImage::PNGError ( png_structp  png_ptr,
png_const_charp  error_msg 
) [static, protected]

PNGError() is called by libpng when a fatal error occurs.

This just throws a CATResult when called.

Parameters:
png_ptr - structure for .png lib.
error_msg - ASCIIZ message reporting the error.

Definition at line 1610 of file CATImage.cpp.

References CAT_ERR_PNG_CORRUPT, and CATRESULTDESC.

Referenced by Load(), and Save().


Generated on Mon Feb 11 04:10:35 2008 for Game Accessibility Suite by doxygen 1.5.4