Flutter Engine
The Flutter Engine
|
#include <SkWriter32.h>
Public Member Functions | |
SkSWriter32 () | |
void | reset () |
Public Member Functions inherited from SkWriter32 | |
SkWriter32 (void *external=nullptr, size_t externalBytes=0) | |
size_t | bytesWritten () const |
bool | usingInitialStorage () const |
void | reset (void *external=nullptr, size_t externalBytes=0) |
uint32_t * | reserve (size_t size) |
template<typename T > | |
const T & | readTAt (size_t offset) const |
template<typename T > | |
void | overwriteTAt (size_t offset, const T &value) |
bool | writeBool (bool value) |
void | writeInt (int32_t value) |
void | write8 (int32_t value) |
void | write16 (int32_t value) |
void | write32 (int32_t value) |
void | writeScalar (SkScalar value) |
void | writePoint (const SkPoint &pt) |
void | writePoint3 (const SkPoint3 &pt) |
void | writeRect (const SkRect &rect) |
void | writeIRect (const SkIRect &rect) |
void | writeRRect (const SkRRect &rrect) |
void | writePath (const SkPath &path) |
void | writeMatrix (const SkMatrix &matrix) |
void | writeRegion (const SkRegion &rgn) |
void | writeSampling (const SkSamplingOptions &sampling) |
void | writeMul4 (const void *values, size_t size) |
void | write (const void *values, size_t size) |
uint32_t * | reservePad (size_t size) |
void | writePad (const void *src, size_t size) |
void | writeString (const char *str, size_t len=(size_t) -1) |
void | writeData (const SkData *data) |
void | rewindToOffset (size_t offset) |
void | flatten (void *dst) const |
bool | writeToStream (SkWStream *stream) const |
size_t | readFromStream (SkStream *stream, size_t length) |
sk_sp< SkData > | snapshotAsData () const |
Additional Inherited Members | |
Static Public Member Functions inherited from SkWriter32 | |
static size_t | WriteStringSize (const char *str, size_t len=(size_t) -1) |
static size_t | WriteDataSize (const SkData *data) |
Helper class to allocated SIZE bytes as part of the writer, and to provide that storage to the constructor as its initial storage buffer.
This wrapper ensures proper alignment rules are met for the storage.
Definition at line 269 of file SkWriter32.h.
|
inline |
Definition at line 271 of file SkWriter32.h.
|
inline |
Definition at line 273 of file SkWriter32.h.
double SkSWriter32< SIZE >::fDoubleAlignment |
Definition at line 278 of file SkWriter32.h.
void* SkSWriter32< SIZE >::fPtrAlignment |
Definition at line 277 of file SkWriter32.h.
char SkSWriter32< SIZE >::fStorage[SIZE] |
Definition at line 279 of file SkWriter32.h.