Lines Matching refs:pathRef
4167 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() local
4169 SkPathRef::Editor ed(&pathRef); in TestPathRef()
4173 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4174 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4175 REPORTER_ASSERT(reporter, 0 == pathRef->getSegmentMasks()); in TestPathRef()
4177 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == pathRef->atVerb(i)); in TestPathRef()
4184 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4185 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4186 REPORTER_ASSERT(reporter, SkPath::kLine_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef()
4188 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == pathRef->atVerb(i)); in TestPathRef()
4195 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4196 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4197 REPORTER_ASSERT(reporter, SkPath::kQuad_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef()
4199 REPORTER_ASSERT(reporter, SkPath::kQuad_Verb == pathRef->atVerb(i)); in TestPathRef()
4207 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4208 REPORTER_ASSERT(reporter, 2*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4209 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countWeights()); in TestPathRef()
4210 REPORTER_ASSERT(reporter, SkPath::kConic_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef()
4213 REPORTER_ASSERT(reporter, SkPath::kConic_Verb == pathRef->atVerb(i)); in TestPathRef()
4220 REPORTER_ASSERT(reporter, kRepeatCnt == pathRef->countVerbs()); in TestPathRef()
4221 REPORTER_ASSERT(reporter, 3*kRepeatCnt == pathRef->countPoints()); in TestPathRef()
4222 REPORTER_ASSERT(reporter, SkPath::kCubic_SegmentMask == pathRef->getSegmentMasks()); in TestPathRef()
4224 REPORTER_ASSERT(reporter, SkPath::kCubic_Verb == pathRef->atVerb(i)); in TestPathRef()