Searched defs:ProxySrc (Results 1 – 2 of 2) sorted by relevance
43 struct ProxySrc : public Src { in draw() struct44 const Src& fSrc; in draw()45 ProxySrc(const Src& src) in draw() function48 Error draw(SkCanvas* canvas) const override { in draw()62 SkISize size() const override { return fSrc.size(); } in draw()63 Name name() const override { sk_throw(); return ""; } in draw()
502 class ProxySrc : public Src { in draw_to_canvas() class504 ProxySrc(SkISize size, SkFunction<Error(SkCanvas*)> draw) : fSize(size), fDraw(draw) {} in draw_to_canvas() function in DM::draw_to_canvas::ProxySrc