|
| IntDrawable (uint32_t a, uint32_t b, uint32_t c, uint32_t d) |
|
void | flatten (SkWriteBuffer &buffer) const override |
|
Factory | getFactory () const override |
|
uint32_t | a () const |
|
uint32_t | b () const |
|
uint32_t | c () const |
|
uint32_t | d () const |
|
const char * | getTypeName () const override |
|
void | draw (SkCanvas *, const SkMatrix *=nullptr) |
|
void | draw (SkCanvas *, SkScalar x, SkScalar y) |
|
std::unique_ptr< GpuDrawHandler > | snapGpuDrawHandler (GrBackendApi backendApi, const SkMatrix &matrix, const SkIRect &clipBounds, const SkImageInfo &bufferInfo) |
|
sk_sp< SkPicture > | makePictureSnapshot () |
|
uint32_t | getGenerationID () |
|
SkRect | getBounds () |
|
size_t | approximateBytesUsed () |
|
void | notifyDrawingChanged () |
|
SkFlattenable::Type | getFlattenableType () const override |
|
Factory | getFactory () const override |
|
const char * | getTypeName () const override |
|
| SkFlattenable () |
|
sk_sp< SkData > | serialize (const SkSerialProcs *=nullptr) const |
|
size_t | serialize (void *memory, size_t memory_size, const SkSerialProcs *=nullptr) const |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
Definition at line 32 of file FlattenDrawableTest.cpp.
◆ IntDrawable()
IntDrawable::IntDrawable |
( |
uint32_t |
a, |
|
|
uint32_t |
b, |
|
|
uint32_t |
c, |
|
|
uint32_t |
d |
|
) |
| |
|
inline |
◆ a()
uint32_t IntDrawable::a |
( |
| ) |
const |
|
inline |
◆ b()
uint32_t IntDrawable::b |
( |
| ) |
const |
|
inline |
◆ c()
uint32_t IntDrawable::c |
( |
| ) |
const |
|
inline |
◆ CreateProc()
◆ d()
uint32_t IntDrawable::d |
( |
| ) |
const |
|
inline |
◆ flatten()
◆ getFactory()
Factory IntDrawable::getFactory |
( |
| ) |
const |
|
inlineoverridevirtual |
Implement this to return a factory function pointer that can be called to recreate your class given a buffer (previously written to by your override of flatten().
Implements SkFlattenable.
Definition at line 56 of file FlattenDrawableTest.cpp.
static sk_sp< SkFlattenable > CreateProc(SkReadBuffer &buffer)
◆ getTypeName()
const char * IntDrawable::getTypeName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ onDraw()
|
inlineoverrideprotectedvirtual |
◆ onGetBounds()
SkRect IntDrawable::onGetBounds |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: