Searched refs:SkPathRef (Results 1 - 8 of 8) sorted by relevance
/third_party/skia/src/core/ |
H A D | SkPathRef.cpp | 8 #include "include/private/SkPathRef.h" 19 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor() 29 SkPathRef* copy = new SkPathRef; in Editor() 48 SkPathRef* pr = new SkPathRef; in shrinkToFit() 60 size_t SkPathRef::approximateBytesUsed() const { in approximateBytesUsed() 61 return sizeof(SkPathRef) in approximateBytesUsed() 67 SkPathRef [all...] |
H A D | SkPath.cpp | 15 #include "include/private/SkPathRef.h" 147 : fPathRef(SkPathRef::CreateEmpty()) { in SkPath() 152 SkPath::SkPath(sk_sp<SkPathRef> pr, SkPathFillType ft, bool isVolatile, SkPathConvexity ct, in SkPath() 362 fPathRef.reset(SkPathRef::CreateEmpty()); in reset() 370 SkPathRef::Rewind(&fPathRef); in rewind() 534 SkPathRef::Editor ed(&fPathRef); in setPt() 546 SkPathRef::Editor ed(&fPathRef); in setLastPt() 612 SkPathRef::Editor(&fPathRef, inc, inc); in incReserve() 620 SkPathRef::Editor ed(&fPathRef); in moveTo() 662 SkPathRef in lineTo() [all...] |
H A D | SkPathBuilder.cpp | 10 #include "include/private/SkPathRef.h" 187 SkPath SkPathBuilder::make(sk_sp<SkPathRef> pr) const { in make() 230 return this->make(sk_sp<SkPathRef>(new SkPathRef(fPts, in snapshot() 237 auto path = this->make(sk_sp<SkPathRef>(new SkPathRef(std::move(fPts), in detach()
|
H A D | SkPathPriv.h | 144 SkPathRef* fPathRef; 206 /** Returns true if the underlying SkPathRef has one single owner. */ 391 SkPathRef::Editor ed(&path->fPathRef);
|
/third_party/skia/include/private/ |
H A D | SkPathRef.h | 52 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an 53 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs 54 * copy-on-write if the SkPathRef is shared by multiple SkPaths. The caller passes the Editor's 55 * constructor a pointer to a sk_sp<SkPathRef>, which may be updated to point to a new SkPathRef 65 class SK_API SkPathRef final : public SkNVRefCnt<SkPathRef> { 67 SkPathRef(SkTDArray<SkPoint> points, SkTDArray<uint8_t> verbs, SkTDArray<SkScalar> weights, in SkPathRef() function in final 89 Editor(sk_sp<SkPathRef>* pathRef, 137 std::tuple<SkPoint*, SkScalar*> growForVerbsInPath(const SkPathRef 373 SkPathRef() { SkPathRef() function in final [all...] |
/third_party/skia/include/core/ |
H A D | SkPath.h | 13 #include "include/private/SkPathRef.h" 1772 SkPath(sk_sp<SkPathRef>, SkPathFillType, bool isVolatile, SkPathConvexity, 1775 sk_sp<SkPathRef> fPathRef; 1841 SkPathRef::Editor ed(&fPathRef); in setBounds()
|
H A D | SkPathBuilder.h | 257 SkPath make(sk_sp<SkPathRef>) const;
|
/third_party/skia/tests/ |
H A D | PathTest.cpp | 4226 static size_t GetFreeSpace(const SkPathRef& ref) { in GetFreeSpace() 4234 sk_sp<SkPathRef> pathRef(new SkPathRef); in TestPathRef() 4236 SkPathRef::Editor ed(&pathRef); in TestPathRef() 5514 // <== use a copy path object to force SkPathRef::copy() and SkPathRef::resetToSize() in DEF_TEST()
|
Completed in 20 milliseconds