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

#include <TriangulatingPathRenderer.h>

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

Public Member Functions

 TriangulatingPathRenderer ()
 
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 by converting to screen-space trapezoids plus extra 1-pixel geometry for AA.

Definition at line 21 of file TriangulatingPathRenderer.h.

Constructor & Destructor Documentation

◆ TriangulatingPathRenderer()

skgpu::ganesh::TriangulatingPathRenderer::TriangulatingPathRenderer ( )

Definition at line 582 of file TriangulatingPathRenderer.cpp.

583 : fMaxVerbCount(GR_AA_TESSELLATOR_MAX_VERB_COUNT) {
584}
#define GR_AA_TESSELLATOR_MAX_VERB_COUNT

Member Function Documentation

◆ name()

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

Implements skgpu::ganesh::PathRenderer.

Definition at line 28 of file TriangulatingPathRenderer.h.

28{ return "Triangulating"; }

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