Searched refs:canvas_ (Results 1 – 12 of 12) sorted by relevance
85 Canvas::Canvas(SkCanvas* canvas) : canvas_(canvas) {} in Canvas()90 if (!canvas_) in save()92 canvas_->save(); in save()97 if (!canvas_) in saveLayerWithoutBounds()99 canvas_->saveLayer(nullptr, paint.paint()); in saveLayerWithoutBounds()108 if (!canvas_) in saveLayer()111 canvas_->saveLayer(&bounds, paint.paint()); in saveLayer()115 if (!canvas_) in restore()117 canvas_->restore(); in restore()121 if (!canvas_) in getSaveCount()[all …]
32 return canvas_ && canvas_->IsRecording(); in isRecording()45 canvas_->Clear(); in endRecording()46 canvas_->ClearDartWrapper(); in endRecording()47 canvas_ = nullptr; in endRecording()
32 void set_canvas(fml::RefPtr<Canvas> canvas) { canvas_ = std::move(canvas); } in set_canvas()41 fml::RefPtr<Canvas> canvas_; variable
166 SkCanvas* canvas() const { return canvas_; } in canvas()178 SkCanvas* canvas_; variable
36 return canvas_ == nullptr ? nullptr : canvas_.get(); in GetCanvas()52 if (!canvas_ || !bitmap_) { in Snapshot()87 canvas_ = std::make_unique<SkCanvas>(*bitmap_); in SetUp()88 canvas_->clear(SK_ColorWHITE); in SetUp()96 canvas_ = nullptr; in TearDown()
51 std::unique_ptr<SkCanvas> canvas_; variable
59 canvas_.reset(); in Resize()88 canvas_ = skia::CreatePlatformCanvasWithPixels( in Resize()92 canvas_ = skia::CreatePlatformCanvasWithSharedSection( in Resize()109 return canvas_.get(); in BeginPaint()124 if (!canvas_) in EndPaint()
44 std::unique_ptr<SkCanvas> canvas_; variable
52 SkCanvas* canvas() { return canvas_; } in canvas()70 SkCanvas* canvas_; variable
54 canvas_(canvas), in ScopedFrame()
64 CanvasWindow canvas_; member in MainWindow
68 if (!canvas_) {133 if (!canvas_)