Lines Matching refs:IntDrawable
19 class IntDrawable : public SkDrawable {
21 IntDrawable(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
40 return sk_sp<IntDrawable>(new IntDrawable(a, b, c, d));
50 const char* getTypeName() const override { return "IntDrawable"; }
94 : fIntDrawable(new IntDrawable(a, b, c, d))
98 CompoundDrawable(IntDrawable* intDrawable, PaintDrawable* paintDrawable)
112 SkASSERT(!strcmp("IntDrawable", intDrawable->getTypeName()));
119 return sk_sp<CompoundDrawable>(new CompoundDrawable((IntDrawable*) intDrawable.get(),
125 IntDrawable* intDrawable() const { return fIntDrawable.get(); }
135 sk_sp<IntDrawable> fIntDrawable;
144 , fIntDrawable(new IntDrawable(e, f, g, h))
148 RootDrawable(CompoundDrawable* compoundDrawable, IntDrawable* intDrawable,
170 SkASSERT(!strcmp("IntDrawable", intDrawable->getTypeName()));
177 (IntDrawable*) intDrawable.get(),
184 IntDrawable* intDrawable() const { return fIntDrawable.get(); }
195 sk_sp<IntDrawable> fIntDrawable;
202 SK_REGISTER_FLATTENABLE(IntDrawable);
211 sk_sp<SkDrawable> drawable(new IntDrawable(1, 2, 3, 4));
240 // Note that we can still recognize the generic drawable as an IntDrawable
242 REPORTER_ASSERT(r, !strcmp("IntDrawable", generic->getTypeName()));
243 IntDrawable* integer = (IntDrawable*) generic;
264 sk_sp<SkDrawable> drawable(new IntDrawable(1, 2, 3, 4));