Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skgpu::ganesh::DefaultPathRenderer Class Referencefinal

#include <DefaultPathRenderer.h>

Inheritance diagram for skgpu::ganesh::DefaultPathRenderer:
skgpu::ganesh::PathRenderer SkRefCnt SkRefCntBase

Public Member Functions

 DefaultPathRenderer ()=default
 
const char * name () const override
 
- Public Member Functions inherited from skgpu::ganesh::PathRenderer
 PathRenderer ()=default
 
virtual const char * name () const =0
 
StencilSupport getStencilSupport (const GrStyledShape &shape) const
 
CanDrawPath canDrawPath (const CanDrawPathArgs &args) const
 
bool drawPath (const DrawPathArgs &args)
 
void stencilPath (const StencilPathArgs &args)
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Additional Inherited Members

- Public Types inherited from skgpu::ganesh::PathRenderer
enum  StencilSupport { kNoSupport_StencilSupport , kStencilOnly_StencilSupport , kNoRestriction_StencilSupport }
 
enum class  CanDrawPath { kNo , kAsBackup , kYes }
 
- Static Protected Member Functions inherited from skgpu::ganesh::PathRenderer
static void GetPathDevBounds (const SkPath &path, SkISize devSize, const SkMatrix &matrix, SkRect *bounds)
 

Detailed Description

Subclass that renders the path using the stencil buffer to resolve fill rules (e.g. winding, even-odd)

Definition at line 19 of file DefaultPathRenderer.h.

Constructor & Destructor Documentation

◆ DefaultPathRenderer()

skgpu::ganesh::DefaultPathRenderer::DefaultPathRenderer ( )
default

Member Function Documentation

◆ name()

const char * skgpu::ganesh::DefaultPathRenderer::name ( ) const
inlineoverridevirtual

Implements skgpu::ganesh::PathRenderer.

Definition at line 23 of file DefaultPathRenderer.h.

23{ return "Default"; }

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