Searched defs:DrawPicture (Results 1 – 2 of 2) sorted by relevance
276 struct DrawPicture final : Op { struct277 static const auto kType = Type::DrawPicture;278 DrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) in DrawPicture() function283 sk_sp<const SkPicture> picture;284 SkMatrix matrix = SkMatrix::I();285 SkPaint paint;286 bool has_paint = false; // TODO: why is a default paint not the same?287 void draw(SkCanvas* c, const SkMatrix&) const { in draw()
270 struct DrawPicture final : Op { struct271 static const auto kType = Type::DrawPicture;272 DrawPicture(const SkPicture* picture, const SkMatrix* matrix, const SkPaint* paint) in DrawPicture() function277 sk_sp<const SkPicture> picture;278 SkMatrix matrix = SkMatrix::I();279 SkPaint paint;280 bool has_paint = false; // TODO: why is a default paint not the same?281 void draw(SkCanvas* c, const SkMatrix&) const { in draw()