Home | History | Annotate | Download | only in core

Lines Matching refs:verbs

69         auto verbs = path.fPathRef->verbs();
71 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb
109 * Returns a C++11-iterable object that traverses a path's verbs in order. e.g:
111 * for (SkPath::Verb verb : SkPathPriv::Verbs(path)) {
115 struct Verbs {
117 Verbs(const SkPath& path) : fPathRef(path.fPathRef.get()) {}
119 void operator++() { --fVerb; } // verbs are laid out backwards in memory.
124 Iter begin() { return Iter{fPathRef->verbs() - 1}; }
125 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; }
127 Verbs(const Verbs&) = delete;
128 Verbs& operator=(const Verbs&) = delete;
133 * Returns a pointer to the verb data. Note that the verbs are stored backwards in memory and