Skia
2DGraphicsLibrary
|
#include <SkPngChunkReader.h>
Public Member Functions | |
virtual bool | readChunk (const char tag[], const void *data, size_t length)=0 |
This will be called by the decoder when it sees an unknown chunk. More... | |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
Default construct, initializing the reference count to 1. | |
virtual | ~SkRefCntBase () |
Destruct, asserting that the reference count is 1. | |
int32_t | getRefCnt () const |
Return the reference count. More... | |
void | validate () const |
bool | unique () const |
May return true if the caller is the only owner. More... | |
void | ref () const |
Increment the reference count. More... | |
void | unref () const |
Decrement the reference count. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from SkRefCntBase | |
void | internal_dispose_restore_refcnt_to_1 () const |
Allow subclasses to call this if they've overridden internal_dispose so they can reset fRefCnt before the destructor is called or if they choose not to call the destructor (e.g. More... | |
Base class for optional callbacks to retrieve meta/chunk data out of a PNG encoded image as it is being decoded. Used by SkCodec.
|
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. |