Lines Matching defs:SkPicture
35 /** \class SkPicture
37 The SkPicture class records the drawing commands made to a canvas, to
40 class SK_API SkPicture : public SkRefCnt {
42 SK_DECLARE_INST_COUNT(SkPicture)
89 * @return A new SkPicture representing the serialized data, or NULL if the stream is
92 static SkPicture* CreateFromStream(SkStream*,
98 * SkReadBuffer::setBitmapDecoder() before calling SkPicture::CreateFromBuffer().
100 * @return A new SkPicture representing the serialized data, or NULL if the buffer is
103 static SkPicture* CreateFromBuffer(SkReadBuffer&);
105 virtual ~SkPicture();
111 SkPicture* clone() const;
172 * Returns true if any bitmaps may be produced when this SkPicture
235 // V20: added bool to SkPictureImageFilter's serialization (to allow SkPicture serialization)
272 // Create a new SkPicture from an existing SkPictureData. The new picture
274 SkPicture(SkPictureData* data, SkScalar width, SkScalar height);
276 SkPicture(SkScalar width, SkScalar height, const SkPictureRecord& record, bool deepCopyOps);
297 friend class SkPictureRecorder; // just for SkPicture-based constructor
307 SkPicture(SkScalar width, SkScalar height, SkRecord*, SkBBoxHierarchy*);
308 // Return as a new SkPicture that's backed by SkRecord.
309 static SkPicture* Forwardport(const SkPicture&);