Home | History | Annotate | Download | only in private

Lines Matching refs:SkPathRef

28  * modify the contents. To modify or append to the verbs/points wrap the SkPathRef in an
29 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs
30 * copy-on-write if the SkPathRef is shared by multiple SkPaths. The caller passes the Editor's
31 * constructor a pointer to a sk_sp<SkPathRef>, which may be updated to point to a new SkPathRef
41 class SK_API SkPathRef final : public SkNVRefCnt<SkPathRef> {
45 Editor(sk_sp<SkPathRef>* pathRef,
103 SkPathRef* pathRef() { return fPathRef; }
116 SkPathRef* fPathRef;
122 Iter(const SkPathRef&);
124 void setPathRef(const SkPathRef&);
151 static SkPathRef* CreateEmpty();
237 static void CreateTransformedCopy(sk_sp<SkPathRef>* dst,
238 const SkPathRef& src,
241 static SkPathRef* CreateFromBuffer(SkRBuffer* buffer);
248 static void Rewind(sk_sp<SkPathRef>* pathRef);
250 ~SkPathRef();
290 bool operator== (const SkPathRef& ref) const;
302 void interpolate(const SkPathRef& ending, SkScalar weight, SkPathRef* out) const;
346 SkPathRef() {
364 void copy(const SkPathRef& ref, int additionalReserveVerbs, int additionalReservePoints);
370 static bool ComputePtBounds(SkRect* bounds, const SkPathRef& ref) {
515 friend SkPathRef* sk_create_empty_pathref();