Lines Matching defs:Factory
38 typedef SkFlattenable* (*Factory)(SkFlattenableReadBuffer&);
42 /** Implement this to return a factory function pointer that can be called
46 virtual Factory getFactory() = 0;
49 be passed to your Factory function, returned by getFactory().
58 static Factory NameToFactory(const char name[]);
59 static const char* FactoryToName(Factory);
60 static void Register(const char name[], Factory);
64 Registrar(const char name[], Factory factory) {
65 SkFlattenable::Register(name, factory);
94 void setFactoryPlayback(SkFlattenable::Factory array[], int count) {
111 SkFlattenable::Factory* fFactoryArray;
149 /** Add a factory to the set. If it is null return 0, otherwise return a
150 base-1 index for the factory.
152 uint32_t record(SkFlattenable::Factory fact) {
156 void get(SkFlattenable::Factory array[]) const {