Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Public Attributes | List of all members
SkPathEffectBase::PointData Class Reference

#include <SkPathEffectBase.h>

Public Types

enum  PointFlags { kCircles_PointFlag = 0x01 , kUsePath_PointFlag = 0x02 , kUseClip_PointFlag = 0x04 }
 

Public Member Functions

 PointData ()
 
 ~PointData ()
 

Public Attributes

uint32_t fFlags
 
SkPointfPoints
 
int fNumPoints
 
SkVector fSize
 
SkRect fClipRect
 
SkPath fPath
 
SkPath fFirst
 
SkPath fLast
 

Detailed Description

PointData aggregates all the information needed to draw the point primitives returned by an 'asPoints' call.

Definition at line 28 of file SkPathEffectBase.h.

Member Enumeration Documentation

◆ PointFlags

Enumerator
kCircles_PointFlag 
kUsePath_PointFlag 
kUseClip_PointFlag 

Definition at line 47 of file SkPathEffectBase.h.

47 {
48 kCircles_PointFlag = 0x01, // draw points as circles (instead of rects)
49 kUsePath_PointFlag = 0x02, // draw points as stamps of the returned path
50 kUseClip_PointFlag = 0x04, // apply 'fClipRect' before drawing the points
51 };

Constructor & Destructor Documentation

◆ PointData()

SkPathEffectBase::PointData::PointData ( )
inline

Definition at line 30 of file SkPathEffectBase.h.

31 : fFlags(0)
32 , fPoints(nullptr)
33 , fNumPoints(0) {
35 // 'asPoints' needs to initialize/fill-in 'fClipRect' if it sets
36 // the kUseClip flag
37 }
#define SK_Scalar1
Definition: SkScalar.h:18
void set(float x, float y)
Definition: SkPoint_impl.h:200

◆ ~PointData()

SkPathEffectBase::PointData::~PointData ( )
inline

Definition at line 38 of file SkPathEffectBase.h.

38 {
39 delete [] fPoints;
40 }

Member Data Documentation

◆ fClipRect

SkRect SkPathEffectBase::PointData::fClipRect

Definition at line 57 of file SkPathEffectBase.h.

◆ fFirst

SkPath SkPathEffectBase::PointData::fFirst

Definition at line 60 of file SkPathEffectBase.h.

◆ fFlags

uint32_t SkPathEffectBase::PointData::fFlags

Definition at line 53 of file SkPathEffectBase.h.

◆ fLast

SkPath SkPathEffectBase::PointData::fLast

Definition at line 61 of file SkPathEffectBase.h.

◆ fNumPoints

int SkPathEffectBase::PointData::fNumPoints

Definition at line 55 of file SkPathEffectBase.h.

◆ fPath

SkPath SkPathEffectBase::PointData::fPath

Definition at line 58 of file SkPathEffectBase.h.

◆ fPoints

SkPoint* SkPathEffectBase::PointData::fPoints

Definition at line 54 of file SkPathEffectBase.h.

◆ fSize

SkVector SkPathEffectBase::PointData::fSize

Definition at line 56 of file SkPathEffectBase.h.


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