Home | History | Annotate | Download | only in core

Lines Matching defs:pathRef

73         Editor(PR_CONTAINER* pathRef,
76 if (pathRef->get()->getRefCnt() > 1) {
78 copy->copy(*pathRef->get(), incReserveVerbs, incReservePoints);
79 pathRef->reset(copy);
81 (*pathRef)->incReserve(incReserveVerbs, incReservePoints);
83 fPathRef = pathRef->get();
140 SkPathRef* pathRef() { return fPathRef; }
245 static void Rewind(PR_CONTAINER* pathRef) {
246 if (1 == (*pathRef)->getRefCnt()) {
247 (*pathRef)->validate();
248 (*pathRef)->fVerbCnt = 0;
249 (*pathRef)->fPointCnt = 0;
250 (*pathRef)->fFreeSpace = (*pathRef)->currSize();
251 (*pathRef)->fGenerationID = 0;
252 (*pathRef)->validate();
254 int oldVCnt = (*pathRef)->countVerbs();
255 int oldPCnt = (*pathRef)->countPoints();
256 pathRef->reset(SkNEW(SkPathRef));
257 (*pathRef)->resetToSize(0, 0, oldVCnt, oldPCnt);