Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::DlSurfaceInstance Class Referenceabstract

#include <dl_test_surface_provider.h>

Inheritance diagram for flutter::testing::DlSurfaceInstance:
flutter::testing::DlMetalSurfaceInstance flutter::testing::DlSurfaceInstanceBase

Public Member Functions

virtual ~DlSurfaceInstance ()=default
 
virtual sk_sp< SkSurfacesk_surface () const =0
 
int width () const
 
int height () const
 

Detailed Description

Definition at line 30 of file dl_test_surface_provider.h.

Constructor & Destructor Documentation

◆ ~DlSurfaceInstance()

virtual flutter::testing::DlSurfaceInstance::~DlSurfaceInstance ( )
virtualdefault

Member Function Documentation

◆ height()

int flutter::testing::DlSurfaceInstance::height ( ) const
inline

Definition at line 37 of file dl_test_surface_provider.h.

37{ return sk_surface()->height(); }
int height() const
Definition: SkSurface.h:184
virtual sk_sp< SkSurface > sk_surface() const =0

◆ sk_surface()

virtual sk_sp< SkSurface > flutter::testing::DlSurfaceInstance::sk_surface ( ) const
pure virtual

◆ width()

int flutter::testing::DlSurfaceInstance::width ( ) const
inline

Definition at line 36 of file dl_test_surface_provider.h.

36{ return sk_surface()->width(); }
int width() const
Definition: SkSurface.h:178

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