Flutter Engine
The Flutter Engine
|
#include <SkPtrRecorder.h>
Public Member Functions | |
SkNamedFactorySet () | |
uint32_t | find (SkFlattenable::Factory) |
const char * | getNextAddedFactoryName () |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Similar to SkFactorySet, but only allows Factorys that have registered names. Also has a function to return the next added Factory's name.
Definition at line 146 of file SkPtrRecorder.h.
SkNamedFactorySet::SkNamedFactorySet | ( | ) |
Definition at line 24 of file SkFlattenable.cpp.
uint32_t SkNamedFactorySet::find | ( | SkFlattenable::Factory | factory | ) |
Find the specified Factory in the set. If it is not already in the set, and has registered its name, add it to the set, and return its index. If the Factory has no registered name, return 0.
Definition at line 26 of file SkFlattenable.cpp.
const char * SkNamedFactorySet::getNextAddedFactoryName | ( | ) |
If new Factorys have been added to the set, return the name of the first Factory added after the Factory name returned by the last call to this function.
Definition at line 39 of file SkFlattenable.cpp.