Flutter Engine
The Flutter Engine
Classes | Public Member Functions | List of all members
SkPathPriv::Verbs Struct Reference

#include <SkPathPriv.h>

Classes

struct  Iter
 

Public Member Functions

 Verbs (const SkPath &path)
 
Iter begin ()
 
Iter end ()
 

Detailed Description

Returns a C++11-iterable object that traverses a path's verbs in order. e.g:

for (SkPath::Verb verb : SkPathPriv::Verbs(path)) { ... }

Definition at line 141 of file SkPathPriv.h.

Constructor & Destructor Documentation

◆ Verbs()

SkPathPriv::Verbs::Verbs ( const SkPath path)
inline

Definition at line 143 of file SkPathPriv.h.

143: fPathRef(path.fPathRef.get()) {}
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
Definition: switches.h:57

Member Function Documentation

◆ begin()

Iter SkPathPriv::Verbs::begin ( )
inline

Definition at line 150 of file SkPathPriv.h.

150{ return Iter{fPathRef->verbsBegin()}; }
const uint8_t * verbsBegin() const
Definition: SkPathRef.h:316

◆ end()

Iter SkPathPriv::Verbs::end ( )
inline

Definition at line 151 of file SkPathPriv.h.

151{ return Iter{fPathRef->verbsEnd()}; }
const uint8_t * verbsEnd() const
Definition: SkPathRef.h:321

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