Lines Matching refs:SkPathRef
26 * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
27 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs
28 * copy-on-write if the SkPathRef is shared by multiple SkPaths. The caller passes the Editor's
29 * constructor a pointer to a sk_sp<SkPathRef>, which may be updated to point to a new SkPathRef
39 class SK_API SkPathRef final : public SkNVRefCnt<SkPathRef> {
43 Editor(sk_sp<SkPathRef>* pathRef,
101 SkPathRef* pathRef() { return fPathRef; }
114 SkPathRef* fPathRef;
120 Iter(const SkPathRef&);
122 void setPathRef(const SkPathRef&);
147 static SkPathRef* CreateEmpty();
233 static void CreateTransformedCopy(sk_sp<SkPathRef>* dst,
234 const SkPathRef& src,
237 static SkPathRef* CreateFromBuffer(SkRBuffer* buffer);
244 static void Rewind(sk_sp<SkPathRef>* pathRef);
246 ~SkPathRef();
286 bool operator== (const SkPathRef& ref) const;
298 void interpolate(const SkPathRef& ending, SkScalar weight, SkPathRef* out) const;
326 SkPathRef() {
344 void copy(const SkPathRef& ref, int additionalReserveVerbs, int additionalReservePoints);
347 static bool ComputePtBounds(SkRect* bounds, const SkPathRef& ref) {
483 friend SkPathRef* sk_create_empty_pathref();