Lines Matching refs:pathRef

4234         sk_sp<SkPathRef> pathRef(new SkPathRef);
4236 SkPathRef::Editor ed(&pathRef);
4240 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs());
4241 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints());
4242 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks());
4244 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i));
4251 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs());
4252 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints());
4253 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks());
4255 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i));
4262 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs());
4263 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints());
4264 REPORTER_ASSERT(reporter, SkPath::kQuad_SegmentMask == pathRef->getSegmentMasks());
4266 REPORTER_ASSERT(reporter, SkPath::kQuad_Verb == pathRef->atVerb(i));
4274 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs());
4275 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints());
4276 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countWeights());
4277 REPORTER_ASSERT(reporter, SkPath::kConic_SegmentMask == pathRef->getSegmentMasks());
4280 REPORTER_ASSERT(reporter, SkPath::kConic_Verb == pathRef->atVerb(i));
4287 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs());
4288 REPORTER_ASSERT(reporter, 3*kRepeatCnt == pathRef->countPoints());
4289 REPORTER_ASSERT(reporter, SkPath::kCubic_SegmentMask == pathRef->getSegmentMasks());
4291 REPORTER_ASSERT(reporter, SkPath::kCubic_Verb == pathRef->atVerb(i));