Searched refs:fPathRef (Results 1 - 9 of 9) sorted by relevance
/third_party/skia/src/core/ |
H A D | SkPathPriv.h | 60 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 in Iterate() [all...] |
H A D | SkPath.cpp | 147 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath() 154 : fPathRef(std::move(pr)) in SkPath() 163 //fPathRef is assumed to have been emptied by the caller. in resetFields() 174 : fPathRef(SkRef(that.fPathRef.get())) { in SkPath() 187 fPathRef.reset(SkRef(that.fPathRef.get())); in operator =() 195 //fPathRef is assumed to have been set by the caller. in copyFields() 209 (a.fFillType == b.fFillType && *a.fPathRef == *b.fPathRef); in operator ==() [all...] |
H A D | SkPathRef.cpp | 33 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 in shrinkToFit() [all...] |
H A D | SkPath_serial.cpp | 63 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()
|
H A D | SkPathBuilder.cpp | 217 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/ |
H A D | SkPathRef.h | 93 ~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();) in growForVerb() 114 return fPathRef->growForVerb(verb, weight); in growForVerb() 127 return fPathRef->growForRepeatedVerb(verb, numVbs, weights); in growForRepeatedVerb() 138 return fPathRef->growForVerbsInPath(path); in growForVerbsInPath() 146 fPathRef in resetToSize() 165 SkPathRef* fPathRef; global() member in final::Editor [all...] |
/third_party/skia/include/core/ |
H A D | SkPath.h | 290 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; member in SkPath 1782 /** Resets all fields other than fPathRef to their initial 'empty' values. 1783 * Assumes the caller has already emptied fPathRef. 1788 /** Sets all fields other than fPathRef to the values in 'that'. 1789 * Assumes the caller has already set fPathRef [all...] |
/third_party/skia/tests/ |
H A D | RRectInPathTest.cpp | 89 path->fPathRef->setIsRRect(true, dir == SkPathDirection::kCCW, start); in ForceIsRRect_Private()
|
H A D | PathTest.cpp | 4394 return PathRefTest_Private::GetFreeSpace(*path.fPathRef); in GetFreeSpace() 5643 path.offset(0, 5, &(copyPath)); // <== change buffer copyPath.fPathRef->fPoints but not reset copyPath.fLastMoveToIndex lead to out of bound in DEF_TEST()
|
Completed in 21 milliseconds