Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATImage::PNGWrite
void CATImage::PNGWrite ( png_structp  png_ptr,
png_bytep  data,
png_size_t  length 
) [static, protected]

PNGWrite() writes to the current stream from the buffer provided by libpng.

You shouldn't need to call this directly - these are called by libpng only.

Parameters:
png_ptr - structure for the .png library. The CATStream* for the current stream is in png_ptr->io_ptr.
data - source buffer
length - number of bytes to write.
Returns:
none. Throws a CATRESULT on error.
See also:
Save()

Definition at line 1574 of file CATImage.cpp.

References CATFAILED, and CATStream::Write().

Referenced by Save().


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