Lines Matching refs:verb
33 static bool can_add_curve(SkPath::Verb verb, SkPoint* curve) {
34 if (SkPath::kMove_Verb == verb) {
37 for (int index = 0; index <= SkPathOpsVerbToPoints(verb); ++index) {
40 return SkPath::kLine_Verb != verb || !SkDPoint::ApproximatelyEqual(curve[0], curve[1]);
92 auto verb = static_cast<SkPath::Verb>(pathVerb);
93 switch (verb) {
98 *fPathVerbs.append() = verb;
117 verb = SkReduceOrder::Quad(curve, curve);
118 if (verb == SkPath::kMove_Verb) {
125 verb = SkReduceOrder::Quad(curve, curve);
126 if (SkPath::kQuad_Verb == verb && 1 != *w) {
127 verb = SkPath::kConic_Verb;
128 } else if (verb == SkPath::kMove_Verb) {
136 verb = SkReduceOrder::Cubic(curve, curve);
137 if (verb == SkPath::kMove_Verb) {
148 *fPathVerbs.append() = verb;
149 int ptCount = SkPathOpsVerbToPoints(verb);
151 if (verb == SkPath::kConic_Verb) {
174 SkPath::Verb verb;
177 while ((verb = (SkPath::Verb) *verbPtr) != SkPath::kDone_Verb) {
182 switch (verb) {
337 SkDEBUGFAIL("bad verb");
344 pointsPtr += SkPathOpsVerbToPoints(verb);