Lines Matching refs:verb
29 static bool can_add_curve(SkPath::Verb verb, SkPoint* curve) { in can_add_curve() argument
30 if (SkPath::kMove_Verb == verb) { in can_add_curve()
33 for (int index = 0; index <= SkPathOpsVerbToPoints(verb); ++index) { in can_add_curve()
36 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]); in can_add_curve()
88 SkPath::Verb verb; in preFetch() local
91 verb = iter.next(pts); in preFetch()
92 switch (verb) { in preFetch()
97 *fPathVerbs.append() = verb; in preFetch()
118 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
119 if (verb == SkPath::kMove_Verb) { in preFetch()
128 verb = SkReduceOrder::Quad(curve, pts); in preFetch()
129 if (SkPath::kQuad_Verb == verb && 1 != iter.conicWeight()) { in preFetch()
130 verb = SkPath::kConic_Verb; in preFetch()
131 } else if (verb == SkPath::kMove_Verb) { in preFetch()
142 verb = SkReduceOrder::Cubic(curve, pts); in preFetch()
143 if (verb == SkPath::kMove_Verb) { in preFetch()
154 *fPathVerbs.append() = verb; in preFetch()
155 int ptCount = SkPathOpsVerbToPoints(verb); in preFetch()
157 if (verb == SkPath::kConic_Verb) { in preFetch()
162 } while (verb != SkPath::kDone_Verb); in preFetch()
180 SkPath::Verb verb; in walk() local
183 while ((verb = (SkPath::Verb) *verbPtr) != SkPath::kDone_Verb) { in walk()
188 switch (verb) { in walk()
297 SkPoint* curve = SkPath::kCubic_Verb == verb in walk()
350 pointsPtr += SkPathOpsVerbToPoints(verb); in walk()