Flutter Engine
flutter::DidDrawCanvas Class Referencefinal

#include <canvas_spy.h>

Inheritance diagram for flutter::DidDrawCanvas:

Public Member Functions

 DidDrawCanvas (int width, int height)
 
 ~DidDrawCanvas () override
 
bool DidDrawIntoCanvas ()
 

Detailed Description

Definition at line 51 of file canvas_spy.h.

Constructor & Destructor Documentation

◆ DidDrawCanvas()

flutter::DidDrawCanvas::DidDrawCanvas ( int  width,
int  height 
)

Definition at line 23 of file canvas_spy.cc.

24  : SkCanvasVirtualEnforcer<SkNoDrawCanvas>(width, height) {}
int32_t height
int32_t width

◆ ~DidDrawCanvas()

flutter::DidDrawCanvas::~DidDrawCanvas ( )
override

Definition at line 26 of file canvas_spy.cc.

26 {}

Member Function Documentation

◆ DidDrawIntoCanvas()

bool flutter::DidDrawCanvas::DidDrawIntoCanvas ( )

Definition at line 37 of file canvas_spy.cc.

References flutter::path.

37  {
38  return did_draw_;
39 }

The documentation for this class was generated from the following files: