|
enum | Type {
kSkColorFilter_Type,
kSkDrawable_Type,
kSkDrawLooper_Type,
kSkImageFilter_Type,
kSkMaskFilter_Type,
kSkPathEffect_Type,
kSkPixelRef_Type,
kSkRasterizer_Type,
kSkShaderBase_Type,
kSkUnused_Type,
kSkUnused_Xfermode_Type,
kSkNormalSource_Type
} |
|
typedef sk_sp< SkFlattenable >(* | Factory )(SkReadBuffer &) |
|
bool | rasterize (const SkPath &path, const SkMatrix &matrix, const SkIRect *clipBounds, SkMaskFilter *filter, SkMask *mask, SkMask::CreateMode mode) const |
| Turn the path into a mask, respecting the specified local->device matrix.
|
|
virtual Factory | getFactory () const =0 |
| 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().
|
|
virtual const char * | getTypeName () const |
| Returns the name of the object's class. More...
|
|
| 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...
|
|
static Factory | NameToFactory (const char name[]) |
|
static const char * | FactoryToName (Factory) |
|
static bool | NameToType (const char name[], Type *type) |
|
static void | Register (const char name[], Factory, Type) |
|