Lines Matching refs:SkCanvas
52 Canvas* Canvas::create_canvas(SkCanvas* skiaCanvas) { in create_canvas()
58 SkiaCanvas::SkiaCanvas(SkCanvas* canvas) : mCanvas(canvas) {} in SkiaCanvas()
63 std::unique_ptr<SkCanvas>(new SkCanvas(bitmap, SkCanvas::ColorBehavior::kLegacy)); in SkiaCanvas()
84 void SkiaCanvas::reset(SkCanvas* skiaCanvas) { in reset()
99 std::unique_ptr<SkCanvas> newCanvas = in setBitmap()
100 std::unique_ptr<SkCanvas>(new SkCanvas(bitmap, SkCanvas::ColorBehavior::kLegacy)); in setBitmap()
101 std::unique_ptr<SkCanvas> newCanvasWrapper; in setBitmap()
187 static inline SkCanvas::SaveLayerFlags layerFlags(SaveFlags::Flags flags) { in layerFlags()
188 SkCanvas::SaveLayerFlags layerFlags = 0; in layerFlags()
191 layerFlags |= SkCanvas::kDontClipToLayer_Legacy_SaveLayerFlag; in layerFlags()
200 const SkCanvas::SaveLayerRec rec(&bounds, paint, layerFlags(flags)); in saveLayer()
224 void apply(SkCanvas* canvas) const { in apply()
424 SkCanvas* canvas = mCanvas; in captureCanvasState()
459 SkCanvas::PointMode mode) { in drawPoints()
476 this->drawPoints(points, count, paint, SkCanvas::kPoints_PointMode); in drawPoints()
486 this->drawPoints(points, count, paint, SkCanvas::kLines_PointMode); in drawLines()
598 SkCanvas::kFast_SrcRectConstraint); in drawBitmap()
696 SkCanvas::Lattice lattice; in drawNinePatch()
708 SkAutoSTMalloc<25, SkCanvas::Lattice::RectType> flags(numFlags); in drawNinePatch()