Lines Matching refs:verbs
1701 path.lineTo(0, 0); // too many points/verbs
2546 // find where the counts and verbs are stored : from the impl in SkPathRef.cpp
2553 uint8_t* verbs = &buffer[28];
2575 // Check that we detect when the verbs indicate more or fewer pts/conics
2577 uint8_t save = verbs[0];
2579 verbs[0] = SkPath::kQuad_Verb;
2581 verbs[0] = save;
2583 save = verbs[1];
2585 verbs[1] = SkPath::kQuad_Verb;
2587 verbs[1] = SkPath::kCubic_Verb;
2589 verbs[1] = save;
2591 // Check that we detect invalid verbs
2592 save = verbs[1];
2593 verbs[1] = 17;
2595 verbs[1] = save;
2781 uint8_t verbs[32];
2843 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, SK_ARRAY_COUNT(verbs)));
2845 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]);
3666 // the path isn't "empty" in that it should have verbs and points.
3942 uint8_t verbs[4];
3943 int verbcount = p.getVerbs(verbs, 4);
3945 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb);
3946 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb);
3947 REPORTER_ASSERT(reporter, verbs[2] == (extend ? SkPath::kLine_Verb : SkPath::kMove_Verb));
3948 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kLine_Verb);
3960 uint8_t verbs[7];
3961 int verbcount = p.getVerbs(verbs, 7);
3963 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb);
3964 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb);
3965 REPORTER_ASSERT(reporter, verbs[2] == SkPath::kLine_Verb);
3966 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kClose_Verb);
3967 REPORTER_ASSERT(reporter, verbs[4] == SkPath::kMove_Verb);
3968 REPORTER_ASSERT(reporter, verbs[5] == SkPath::kLine_Verb);
3969 REPORTER_ASSERT(reporter, verbs[6] == SkPath::kLine_Verb);
4486 SkPath::Verb verbs[] = {kMove, kLine, kLine, kLine, kLine, kLine, kLine, kLine, kClose,
4489 for(auto verb : verbs) {
4658 uint8_t verbs[6];
4659 verbs[5] = 0xff;
4660 p.getVerbs(verbs, 5);
4661 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == verbs[0]);
4662 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[1]);
4663 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[2]);
4664 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[3]);
4665 REPORTER_ASSERT(reporter, SkPath::kClose_Verb == verbs[4]);
4666 REPORTER_ASSERT(reporter, 0xff == verbs[5]);
4810 const SkPath::Verb verbs[] = {
4815 for (SkPath::Verb verb : verbs) {
4886 // Too many verbs, points, or conics fails to deserialize silently.
4911 int verbs = 0;
4916 verbs++;
4919 REPORTER_ASSERT(reporter, verbs == 0);