Flutter Engine
The Flutter Engine
|
#include <SkPngChunkReader.h>
Public Member Functions | |
virtual bool | readChunk (const char tag[], const void *data, size_t length)=0 |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Base class for optional callbacks to retrieve meta/chunk data out of a PNG encoded image as it is being decoded. Used by SkCodec.
Definition at line 21 of file SkPngChunkReader.h.
|
pure virtual |
This will be called by the decoder when it sees an unknown chunk.
Use by SkCodec: Depending on the location of the unknown chunks, this callback may be called by
tag | Name for this type of chunk. |
data | Data to be interpreted by the subclass. |
length | Number of bytes of data in the chunk. |