Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Public Attributes | List of all members
GrDefaultGeoProcFactory::LocalCoords Struct Reference

#include <GrDefaultGeoProcFactory.h>

Public Types

enum  Type { kUnused_Type , kUsePosition_Type , kHasExplicit_Type }
 

Public Member Functions

 LocalCoords (Type type)
 
 LocalCoords (Type type, const SkMatrix *matrix)
 
bool hasLocalMatrix () const
 

Public Attributes

Type fType
 
const SkMatrixfMatrix
 

Detailed Description

Definition at line 62 of file GrDefaultGeoProcFactory.h.

Member Enumeration Documentation

◆ Type

Enumerator
kUnused_Type 
kUsePosition_Type 
kHasExplicit_Type 

Definition at line 63 of file GrDefaultGeoProcFactory.h.

Constructor & Destructor Documentation

◆ LocalCoords() [1/2]

GrDefaultGeoProcFactory::LocalCoords::LocalCoords ( Type  type)
inline

◆ LocalCoords() [2/2]

GrDefaultGeoProcFactory::LocalCoords::LocalCoords ( Type  type,
const SkMatrix matrix 
)
inline

Definition at line 69 of file GrDefaultGeoProcFactory.h.

71 }
#define SkASSERT(cond)
Definition: SkAssert.h:116
unsigned useCenter Optional< SkMatrix > matrix
Definition: SkRecords.h:258

Member Function Documentation

◆ hasLocalMatrix()

bool GrDefaultGeoProcFactory::LocalCoords::hasLocalMatrix ( ) const
inline

Definition at line 72 of file GrDefaultGeoProcFactory.h.

72{ return nullptr != fMatrix; }

Member Data Documentation

◆ fMatrix

const SkMatrix* GrDefaultGeoProcFactory::LocalCoords::fMatrix

Definition at line 75 of file GrDefaultGeoProcFactory.h.

◆ fType

Type GrDefaultGeoProcFactory::LocalCoords::fType

Definition at line 74 of file GrDefaultGeoProcFactory.h.


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