• Home
  • Raw
  • Download

Lines Matching refs:SkCanvas

23 static void draw_text(SkCanvas* canvas, const char* text) {  in draw_text()
27 static void draw_gradient_tiles(SkCanvas* canvas, bool alignGradients) { in draw_gradient_tiles()
50 unsigned aa = SkCanvas::kNone_QuadAAFlags; in draw_gradient_tiles()
52 aa |= SkCanvas::kTop_QuadAAFlag; in draw_gradient_tiles()
55 aa |= SkCanvas::kBottom_QuadAAFlag; in draw_gradient_tiles()
58 aa |= SkCanvas::kLeft_QuadAAFlag; in draw_gradient_tiles()
61 aa |= SkCanvas::kRight_QuadAAFlag; in draw_gradient_tiles()
77 tile, static_cast<SkCanvas::QuadAAFlags>(aa), color, SkBlendMode::kSrcOver); in draw_gradient_tiles()
88 static void draw_color_tiles(SkCanvas* canvas, bool multicolor) { in draw_color_tiles()
100 unsigned aa = SkCanvas::kNone_QuadAAFlags; in draw_color_tiles()
102 aa |= SkCanvas::kTop_QuadAAFlag; in draw_color_tiles()
105 aa |= SkCanvas::kBottom_QuadAAFlag; in draw_color_tiles()
108 aa |= SkCanvas::kLeft_QuadAAFlag; in draw_color_tiles()
111 aa |= SkCanvas::kRight_QuadAAFlag; in draw_color_tiles()
115 tile, static_cast<SkCanvas::QuadAAFlags>(aa), color.toSkColor(), in draw_color_tiles()
121 static void draw_tile_boundaries(SkCanvas* canvas, const SkMatrix& local) { in draw_tile_boundaries()
146 typedef void (*TileRenderer)(SkCanvas*);
148 [](SkCanvas* canvas) { draw_gradient_tiles(canvas, /* aligned */ false); }, in __anonedb988ca0102()
149 [](SkCanvas* canvas) { draw_gradient_tiles(canvas, /* aligned */ true); }, in __anonedb988ca0202()
150 [](SkCanvas* canvas) { draw_color_tiles(canvas, /* multicolor */ false); }, in __anonedb988ca0302()
151 [](SkCanvas* canvas) { draw_color_tiles(canvas, /* multicolor */true); }, in __anonedb988ca0402()
163 void onDraw(SkCanvas* canvas) override { in onDraw()