Flutter Engine
The Flutter Engine
|
#include <SkWriteBuffer.h>
Public Member Functions | |
SkBinaryWriteBuffer (const SkSerialProcs &) | |
SkBinaryWriteBuffer (void *initialStorage, size_t storageSize, const SkSerialProcs &) | |
~SkBinaryWriteBuffer () override | |
void | write (const void *buffer, size_t bytes) |
void | writePad32 (const void *buffer, size_t bytes) override |
void | reset (void *storage=nullptr, size_t storageSize=0) |
size_t | bytesWritten () const |
bool | usingInitialStorage () const |
void | writeByteArray (const void *data, size_t size) override |
void | writeBool (bool value) override |
void | writeScalar (SkScalar value) override |
void | writeScalarArray (const SkScalar *value, uint32_t count) override |
void | writeInt (int32_t value) override |
void | writeIntArray (const int32_t *value, uint32_t count) override |
void | writeUInt (uint32_t value) override |
void | writeString (std::string_view value) override |
void | writeFlattenable (const SkFlattenable *flattenable) override |
void | writeColor (SkColor color) override |
void | writeColorArray (const SkColor *color, uint32_t count) override |
void | writeColor4f (const SkColor4f &color) override |
void | writeColor4fArray (const SkColor4f *color, uint32_t count) override |
void | writePoint (const SkPoint &point) override |
void | writePointArray (const SkPoint *point, uint32_t count) override |
void | writePoint3 (const SkPoint3 &point) override |
void | write (const SkM44 &) override |
void | writeMatrix (const SkMatrix &matrix) override |
void | writeIRect (const SkIRect &rect) override |
void | writeRect (const SkRect &rect) override |
void | writeRegion (const SkRegion ®ion) override |
void | writeSampling (const SkSamplingOptions &) override |
void | writePath (const SkPath &path) override |
size_t | writeStream (SkStream *stream, size_t length) override |
void | writeImage (const SkImage *) override |
void | writeTypeface (SkTypeface *typeface) override |
void | writePaint (const SkPaint &paint) override |
bool | writeToStream (SkWStream *) const |
void | writeToMemory (void *dst) const |
sk_sp< SkData > | snapshotAsData () const |
void | setFactoryRecorder (sk_sp< SkFactorySet >) |
void | setTypefaceRecorder (sk_sp< SkRefCntSet >) |
Public Member Functions inherited from SkWriteBuffer | |
SkWriteBuffer (const SkSerialProcs &p) | |
virtual | ~SkWriteBuffer () |
virtual void | writePad32 (const void *buffer, size_t bytes)=0 |
virtual void | writeByteArray (const void *data, size_t size)=0 |
void | writeDataAsByteArray (const SkData *data) |
virtual void | writeBool (bool value)=0 |
virtual void | writeScalar (SkScalar value)=0 |
virtual void | writeScalarArray (const SkScalar *value, uint32_t count)=0 |
virtual void | writeInt (int32_t value)=0 |
virtual void | writeIntArray (const int32_t *value, uint32_t count)=0 |
virtual void | writeUInt (uint32_t value)=0 |
void | write32 (int32_t value) |
virtual void | writeString (std::string_view value)=0 |
virtual void | writeFlattenable (const SkFlattenable *flattenable)=0 |
virtual void | writeColor (SkColor color)=0 |
virtual void | writeColorArray (const SkColor *color, uint32_t count)=0 |
virtual void | writeColor4f (const SkColor4f &color)=0 |
virtual void | writeColor4fArray (const SkColor4f *color, uint32_t count)=0 |
virtual void | writePoint (const SkPoint &point)=0 |
virtual void | writePointArray (const SkPoint *point, uint32_t count)=0 |
virtual void | writePoint3 (const SkPoint3 &point)=0 |
virtual void | write (const SkM44 &)=0 |
virtual void | writeMatrix (const SkMatrix &matrix)=0 |
virtual void | writeIRect (const SkIRect &rect)=0 |
virtual void | writeRect (const SkRect &rect)=0 |
virtual void | writeRegion (const SkRegion ®ion)=0 |
virtual void | writeSampling (const SkSamplingOptions &)=0 |
virtual void | writePath (const SkPath &path)=0 |
virtual size_t | writeStream (SkStream *stream, size_t length)=0 |
virtual void | writeImage (const SkImage *)=0 |
virtual void | writeTypeface (SkTypeface *typeface)=0 |
virtual void | writePaint (const SkPaint &paint)=0 |
const SkSerialProcs & | serialProcs () const |
Additional Inherited Members | |
Protected Attributes inherited from SkWriteBuffer | |
SkSerialProcs | fProcs |
Concrete implementation that serializes to a flat binary blob.
Definition at line 97 of file SkWriteBuffer.h.
SkBinaryWriteBuffer::SkBinaryWriteBuffer | ( | const SkSerialProcs & | p | ) |
Definition at line 42 of file SkWriteBuffer.cpp.
SkBinaryWriteBuffer::SkBinaryWriteBuffer | ( | void * | initialStorage, |
size_t | storageSize, | ||
const SkSerialProcs & | p | ||
) |
Definition at line 45 of file SkWriteBuffer.cpp.
|
override |
Definition at line 48 of file SkWriteBuffer.cpp.
|
inline |
Definition at line 114 of file SkWriteBuffer.h.
|
inline |
Definition at line 110 of file SkWriteBuffer.h.
void SkBinaryWriteBuffer::setFactoryRecorder | ( | sk_sp< SkFactorySet > | rec | ) |
Definition at line 274 of file SkWriteBuffer.cpp.
void SkBinaryWriteBuffer::setTypefaceRecorder | ( | sk_sp< SkRefCntSet > | rec | ) |
Definition at line 278 of file SkWriteBuffer.cpp.
Definition at line 151 of file SkWriteBuffer.h.
bool SkBinaryWriteBuffer::usingInitialStorage | ( | ) | const |
Definition at line 50 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 121 of file SkWriteBuffer.cpp.
|
inline |
Definition at line 103 of file SkWriteBuffer.h.
|
overridevirtual |
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 54 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 89 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 98 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 102 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 93 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 282 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 221 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 72 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 76 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 129 of file SkWriteBuffer.cpp.
|
overridevirtual |
|
inlineoverridevirtual |
Implements SkWriteBuffer.
Definition at line 106 of file SkWriteBuffer.h.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 270 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 145 of file SkWriteBuffer.cpp.
|
overridevirtual |
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 112 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 116 of file SkWriteBuffer.cpp.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 141 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 63 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 67 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 149 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 85 of file SkWriteBuffer.cpp.
|
inline |
Definition at line 150 of file SkWriteBuffer.h.
bool SkBinaryWriteBuffer::writeToStream | ( | SkWStream * | stream | ) | const |
Definition at line 158 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 243 of file SkWriteBuffer.cpp.
|
overridevirtual |
Implements SkWriteBuffer.
Definition at line 81 of file SkWriteBuffer.cpp.