Home
last modified time | relevance | path

Searched refs:fPathRef (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/core/
DSkPathPriv.h63 auto verbs = path.fPathRef->verbs(); in IsClosedSingleContour()
84 path.fPathRef->addGenIDChangeListener(listener); in AddGenIDChangeListener()
111 Verbs(const SkPath& path) : fPathRef(path.fPathRef.get()) {} in Verbs()
118 Iter begin() { return Iter{fPathRef->verbs() - 1}; } in begin()
119 Iter end() { return Iter{fPathRef->verbs() - fPathRef->countVerbs() - 1}; } in end()
123 SkPathRef* fPathRef; member
131 return path.fPathRef->verbsMemBegin(); in VerbData()
136 return path.fPathRef->points(); in PointData()
141 return path.fPathRef->countWeights(); in ConicWeightCnt()
146 return path.fPathRef->conicWeights(); in ConicWeightData()
DSkPath.cpp136 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath()
153 : fPathRef(SkRef(that.fPathRef.get())) { in SkPath()
166 fPathRef.reset(SkRef(that.fPathRef.get())); in operator =()
187 (a.fFillType == b.fFillType && *a.fPathRef.get() == *b.fPathRef.get()); in operator ==()
192 fPathRef.swap(that.fPathRef); in swap()
205 int count = fPathRef->countVerbs(); in isInterpolatable()
206 if (count != compare.fPathRef->countVerbs()) { in isInterpolatable()
212 if (memcmp(fPathRef->verbsMemBegin(), compare.fPathRef->verbsMemBegin(), in isInterpolatable()
216 return !fPathRef->countWeights() || in isInterpolatable()
217 !SkToBool(memcmp(fPathRef->conicWeights(), compare.fPathRef->conicWeights(), in isInterpolatable()
[all …]
DSkPathRef.cpp26 fPathRef = pathRef->get(); in Editor()
27 fPathRef->callGenIDChangeListeners(); in Editor()
28 fPathRef->fGenerationID = 0; in Editor()
29 SkDEBUGCODE(sk_atomic_inc(&fPathRef->fEditorsAttached);) in Editor()
/external/skia/include/private/
DSkPathRef.h47 ~Editor() { SkDEBUGCODE(sk_atomic_dec(&fPathRef->fEditorsAttached);) } in ~Editor()
52 SkPoint* points() { return fPathRef->getPoints(); } in points()
53 const SkPoint* points() const { return fPathRef->points(); } in points()
59 SkASSERT((unsigned) i < (unsigned) fPathRef->fPointCnt); in atPoint()
63 SkASSERT((unsigned) i < (unsigned) fPathRef->fPointCnt); in atPoint()
73 SkDEBUGCODE(fPathRef->validate();)
74 return fPathRef->growForVerb(verb, weight);
87 return fPathRef->growForRepeatedVerb(verb, numVbs, weights);
95 fPathRef->resetToSize(newVerbCnt, newPointCnt, newConicCount); in resetToSize()
101 SkPathRef* pathRef() { return fPathRef; } in pathRef()
[all …]
/external/skia/include/core/
DSkPath.h68 bool unique() const { return fPathRef->unique(); } in unique()
186 bool result = fPathRef->isOval(rect, &isCCW, start);
208 bool result = fPathRef->isRRect(rrect, &isCCW, start);
234 return 0 == fPathRef->countVerbs(); in isEmpty()
247 return fPathRef->isFinite(); in isFinite()
346 return fPathRef->getBounds(); in getBounds()
951 uint32_t getSegmentMasks() const { return fPathRef->getSegmentMasks(); } in getSegmentMasks()
1047 fRawIter.setPathRef(*path.fPathRef.get()); in setPath()
1116 SkDEBUGCODE(void experimentalValidateRef() const { fPathRef->validate(); } )
1136 sk_sp<SkPathRef> fPathRef; variable
[all …]
/external/skia/tests/
DRRectInPathTest.cpp89 path->fPathRef->setIsRRect(true, dir == SkPath::kCCW_Direction, start); in ForceIsRRect_Private()