Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkPathEffect::DashInfo Struct Reference

#include <SkPathEffect.h>

Public Member Functions

 DashInfo ()
 
 DashInfo (SkScalar *intervals, int32_t count, SkScalar phase)
 

Public Attributes

SkScalarfIntervals
 Length of on/off intervals for dashed lines. More...
 
int32_t fCount
 Number of intervals in the dash. Should be even number. More...
 
SkScalar fPhase
 Offset into the dashed interval pattern. More...
 

Detailed Description

Definition at line 65 of file SkPathEffect.h.

Constructor & Destructor Documentation

◆ DashInfo() [1/2]

SkPathEffect::DashInfo::DashInfo ( )
inline

Definition at line 66 of file SkPathEffect.h.

66: fIntervals(nullptr), fCount(0), fPhase(0) {}
SkScalar fPhase
Offset into the dashed interval pattern.
Definition: SkPathEffect.h:73
int32_t fCount
Number of intervals in the dash. Should be even number.
Definition: SkPathEffect.h:72
SkScalar * fIntervals
Length of on/off intervals for dashed lines.
Definition: SkPathEffect.h:70

◆ DashInfo() [2/2]

SkPathEffect::DashInfo::DashInfo ( SkScalar intervals,
int32_t  count,
SkScalar  phase 
)
inline

Definition at line 67 of file SkPathEffect.h.

68 : fIntervals(intervals), fCount(count), fPhase(phase) {}
int count
Definition: FontMgrTest.cpp:50

Member Data Documentation

◆ fCount

int32_t SkPathEffect::DashInfo::fCount

Number of intervals in the dash. Should be even number.

Definition at line 72 of file SkPathEffect.h.

◆ fIntervals

SkScalar* SkPathEffect::DashInfo::fIntervals

Length of on/off intervals for dashed lines.

Definition at line 70 of file SkPathEffect.h.

◆ fPhase

SkScalar SkPathEffect::DashInfo::fPhase

Offset into the dashed interval pattern.

Definition at line 73 of file SkPathEffect.h.


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