Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Contour Struct Reference

Public Types

enum class  Direction { kCCW = -1 , kNone , kCW }
 

Public Member Functions

 Contour (const SkRect &bounds, int lastStart, int verbStart)
 

Public Attributes

vector< Contour * > fChildren
 
const SkRect fBounds
 
SkPoint fMinXY {SK_ScalarMax, SK_ScalarMax}
 
const int fVerbStart
 
const int fVerbEnd
 
Direction fDirection {Direction::kNone}
 
bool fContained {false}
 
bool fReverse {false}
 

Detailed Description

Definition at line 29 of file SkPathOpsAsWinding.cpp.

Member Enumeration Documentation

◆ Direction

enum class Contour::Direction
strong
Enumerator
kCCW 
kNone 
kCW 

Definition at line 30 of file SkPathOpsAsWinding.cpp.

30 { // SkPathDirection doesn't have 'none' state
31 kCCW = -1,
32 kNone,
33 kCW,
34 };

Constructor & Destructor Documentation

◆ Contour()

Contour::Contour ( const SkRect bounds,
int  lastStart,
int  verbStart 
)
inline

Definition at line 36 of file SkPathOpsAsWinding.cpp.

37 : fBounds(bounds)
38 , fVerbStart(lastStart)
39 , fVerbEnd(verbStart) {
40 }
const int fVerbEnd
const SkRect fBounds
const int fVerbStart

Member Data Documentation

◆ fBounds

const SkRect Contour::fBounds

Definition at line 43 of file SkPathOpsAsWinding.cpp.

◆ fChildren

vector<Contour*> Contour::fChildren

Definition at line 42 of file SkPathOpsAsWinding.cpp.

◆ fContained

bool Contour::fContained {false}

Definition at line 48 of file SkPathOpsAsWinding.cpp.

48{false};

◆ fDirection

Direction Contour::fDirection {Direction::kNone}

Definition at line 47 of file SkPathOpsAsWinding.cpp.

◆ fMinXY

SkPoint Contour::fMinXY {SK_ScalarMax, SK_ScalarMax}

Definition at line 44 of file SkPathOpsAsWinding.cpp.

#define SK_ScalarMax
Definition SkScalar.h:24

◆ fReverse

bool Contour::fReverse {false}

Definition at line 49 of file SkPathOpsAsWinding.cpp.

49{false};

◆ fVerbEnd

const int Contour::fVerbEnd

Definition at line 46 of file SkPathOpsAsWinding.cpp.

◆ fVerbStart

const int Contour::fVerbStart

Definition at line 45 of file SkPathOpsAsWinding.cpp.


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