Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::CanvasTestBase< BaseT > Class Template Reference

#include <canvas_test.h>

Inheritance diagram for flutter::testing::CanvasTestBase< BaseT >:
flutter::testing::LayerTestBase< BaseT > flutter::testing::LayerTreeTest flutter::testing::DiffContextTest

Public Member Functions

 CanvasTestBase ()=default
 
MockCanvasmock_canvas ()
 
sk_sp< SkColorSpacemock_color_space ()
 

Detailed Description

template<typename BaseT>
class flutter::testing::CanvasTestBase< BaseT >

Definition at line 18 of file canvas_test.h.

Constructor & Destructor Documentation

◆ CanvasTestBase()

template<typename BaseT >
flutter::testing::CanvasTestBase< BaseT >::CanvasTestBase ( )
default

Member Function Documentation

◆ mock_canvas()

template<typename BaseT >
MockCanvas & flutter::testing::CanvasTestBase< BaseT >::mock_canvas ( )
inline

Definition at line 22 of file canvas_test.h.

22{ return canvas_; }

◆ mock_color_space()

template<typename BaseT >
sk_sp< SkColorSpace > flutter::testing::CanvasTestBase< BaseT >::mock_color_space ( )
inline

Definition at line 23 of file canvas_test.h.

23{ return color_space_; }

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