Flutter Engine
The Flutter Engine
Classes | Functions
SkPathEffectBase.h File Reference
#include "include/core/SkPath.h"
#include "include/core/SkPathEffect.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"

Go to the source code of this file.

Classes

class  SkPathEffectBase
 
class  SkPathEffectBase::PointData
 

Functions

static SkPathEffectBaseas_PEB (SkPathEffect *effect)
 
static const SkPathEffectBaseas_PEB (const SkPathEffect *effect)
 
static const SkPathEffectBaseas_PEB (const sk_sp< SkPathEffect > &effect)
 
static sk_sp< SkPathEffectBaseas_PEB_sp (sk_sp< SkPathEffect > effect)
 

Function Documentation

◆ as_PEB() [1/3]

static const SkPathEffectBase * as_PEB ( const sk_sp< SkPathEffect > &  effect)
inlinestatic

Definition at line 138 of file SkPathEffectBase.h.

138 {
139 return static_cast<SkPathEffectBase*>(effect.get());
140}
T * get() const
Definition: SkRefCnt.h:303

◆ as_PEB() [2/3]

static const SkPathEffectBase * as_PEB ( const SkPathEffect effect)
inlinestatic

Definition at line 134 of file SkPathEffectBase.h.

134 {
135 return static_cast<const SkPathEffectBase*>(effect);
136}

◆ as_PEB() [3/3]

static SkPathEffectBase * as_PEB ( SkPathEffect effect)
inlinestatic

Definition at line 130 of file SkPathEffectBase.h.

130 {
131 return static_cast<SkPathEffectBase*>(effect);
132}

◆ as_PEB_sp()

static sk_sp< SkPathEffectBase > as_PEB_sp ( sk_sp< SkPathEffect effect)
inlinestatic

Definition at line 142 of file SkPathEffectBase.h.

142 {
143 return sk_sp<SkPathEffectBase>(static_cast<SkPathEffectBase*>(effect.release()));
144}
T * release()
Definition: SkRefCnt.h:324