Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkPathPriv.h60 auto verbs = path.fPathRef->verbsBegin(); in IsClosedSingleContour()
85 auto verbs = path.fPathRef->verbsBegin(); in LeadingMoveToCount()
95 path.fPathRef->addGenIDChangeListener(std::move(listener)); in AddGenIDChangeListener()
132 Verbs(const SkPath& path) : fPathRef(path.fPathRef.get()) {} in Verbs()
139 Iter begin() { return Iter{fPathRef->verbsBegin()}; } in begin()
140 Iter end() { return Iter{fPathRef->verbsEnd()}; } in end()
144 SkPathRef* fPathRef; member
165 : Iterate(path.fPathRef->verbsBegin(), in Iterate()
167 (!path.isFinite()) ? path.fPathRef->verbsBegin() in Iterate()
168 : path.fPathRef->verbsEnd(), in Iterate()
[all …]
DSkPath.cpp147 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath()
154 : fPathRef(std::move(pr)) in SkPath()
174 : fPathRef(SkRef(that.fPathRef.get())) { in SkPath()
187 fPathRef.reset(SkRef(that.fPathRef.get())); in operator =()
209 (a.fFillType == b.fFillType && *a.fPathRef == *b.fPathRef); in operator ==()
214 fPathRef.swap(that.fPathRef); in swap()
238 return fPathRef->fPoints.count() == compare.fPathRef->fPoints.count() && in isInterpolatable()
239 fPathRef->fVerbs == compare.fPathRef->fVerbs && in isInterpolatable()
240 fPathRef->fConicWeights == compare.fPathRef->fConicWeights; in isInterpolatable()
244 int pointCount = fPathRef->countPoints(); in interpolate()
[all …]
DSkPath_serial.cpp63 if (fPathRef->isOval(&oval, &isCCW, &start)) { in writeToMemoryAsRRect()
67 } else if (!fPathRef->isRRect(&rrect, &isCCW, &start)) { in writeToMemoryAsRRect()
103 int32_t pts = fPathRef->countPoints(); in writeToMemory()
104 int32_t cnx = fPathRef->countWeights(); in writeToMemory()
105 int32_t vbs = fPathRef->countVerbs(); in writeToMemory()
125 buffer.write(fPathRef->points(), pts * sizeof(SkPoint)); in writeToMemory()
126 buffer.write(fPathRef->conicWeights(), cnx * sizeof(SkScalar)); in writeToMemory()
127 buffer.write(fPathRef->verbsBegin(), vbs * sizeof(uint8_t)); in writeToMemory()
DSkPathRef.cpp33 fPathRef = pathRef->get(); in Editor()
34 fPathRef->callGenIDChangeListeners(); in Editor()
35 fPathRef->fGenerationID = 0; in Editor()
36 fPathRef->fBoundsIsDirty = true; in Editor()
37 SkDEBUGCODE(fPathRef->fEditorsAttached++;) in Editor()
47 if (!fPathRef->unique()) { in shrinkToFit()
49 pr->copy(*fPathRef, 0, 0); in shrinkToFit()
50 fPathRef.reset(pr); in shrinkToFit()
52 fPathRef->fPoints.shrinkToFit(); in shrinkToFit()
53 fPathRef->fVerbs.shrinkToFit(); in shrinkToFit()
[all …]
DSkPathBuilder.cpp217 const uint8_t* start = path.fPathRef->verbsBegin(); in make()
218 const uint8_t* stop = path.fPathRef->verbsEnd(); in make()
818 const uint8_t* verbsBegin = src.fPathRef->verbsBegin(); in privateReverseAddPath()
819 const uint8_t* verbs = src.fPathRef->verbsEnd(); in privateReverseAddPath()
820 const SkPoint* pts = src.fPathRef->pointsEnd(); in privateReverseAddPath()
821 const SkScalar* conicWeights = src.fPathRef->conicWeightsEnd(); in privateReverseAddPath()
/third_party/skia/include/private/
DSkPathRef.h93 ~Editor() { SkDEBUGCODE(fPathRef->fEditorsAttached--;) } in ~Editor()
98 SkPoint* writablePoints() { return fPathRef->getWritablePoints(); } in writablePoints()
99 const SkPoint* points() const { return fPathRef->points(); } in points()
104 SkPoint* atPoint(int i) { return fPathRef->getWritablePoints() + i; } in atPoint()
105 const SkPoint* atPoint(int i) const { return &fPathRef->fPoints[i]; } in atPoint()
113 SkDEBUGCODE(fPathRef->validate();)
114 return fPathRef->growForVerb(verb, weight);
127 return fPathRef->growForRepeatedVerb(verb, numVbs, weights);
138 return fPathRef->growForVerbsInPath(path); in growForVerbsInPath()
146 fPathRef->resetToSize(newVerbCnt, newPointCnt, newConicCount); in resetToSize()
[all …]
/third_party/skia/include/core/
DSkPath.h290 return 0 == fPathRef->countVerbs(); in isEmpty()
311 return fPathRef->isFinite(); in isFinite()
486 return fPathRef->getBounds(); in getBounds()
1412 uint32_t getSegmentMasks() const { return fPathRef->getSegmentMasks(); } in getSegmentMasks()
1769 bool isValid() const { return this->isValidImpl() && fPathRef->isValid(); } in isValid()
1775 sk_sp<SkPathRef> fPathRef; variable
1825 SkDEBUGCODE(void validateRef() const { fPathRef->validate(); } )
1835 return fPathRef->hasComputedBounds(); in hasComputedBounds()
1841 SkPathRef::Editor ed(&fPathRef); in setBounds()
/third_party/skia/tests/
DRRectInPathTest.cpp89 path->fPathRef->setIsRRect(true, dir == SkPathDirection::kCCW, start); in ForceIsRRect_Private()
DPathTest.cpp4394 return PathRefTest_Private::GetFreeSpace(*path.fPathRef); in GetFreeSpace()