Lines Matching refs:clone
144 SkPicture* SkPicture::clone() const { in clone() function in SkPicture
146 clone(clonedPicture, 1); in clone()
150 void SkPicture::clone(SkPicture* pictures, int count) const { in clone() function in SkPicture
154 SkPicture* clone = &pictures[i]; in clone() local
156 clone->fWidth = fWidth; in clone()
157 clone->fHeight = fHeight; in clone()
158 clone->fRecord = NULL; in clone()
160 if (NULL != clone->fRecord) { in clone()
161 clone->fRecord->unref(); in clone()
162 clone->fRecord = NULL; in clone()
164 SkDELETE(clone->fPlayback); in clone()
171 clone->fPlayback = SkNEW_ARGS(SkPicturePlayback, (*fPlayback, ©Info)); in clone()
174 clone->fPlayback = SkNEW_ARGS(SkPicturePlayback, (*fRecord, true)); in clone()
176 clone->fPlayback = NULL; in clone()