SkPicture can be constructed or initialized by these functions, including C++ class constructors.
An SkPicture records drawing commands made to a canvas to be played back at a later time. This base class handles serialization and a few other miscellany.
SkPicture uses C++ classes to declare the public data structures and interfaces.
SkPicture member functions read and modify the structure properties.
SkPicture can be constructed or initialized by these functions, including C++ class constructors.
SkPicture member functions read and modify the structure properties.
Subclasses of this can be passed to playback. During the playback of the picture, this callback will periodically be invoked. If its abort returns true, then picture playback will be interrupted. The resulting drawing is undefined, as there is no guarantee how often the callback will be invoked. If the abort happens inside some level of nested calls to save(), restore will automatically be called to return the state to the same level it was before the playback call was made.
incomplete
incomplete
incomplete
incomplete
incomplete
Recreate a picture that was serialized into a stream or data.
incomplete
incomplete
incomplete
incomplete
incomplete
incomplete
Replays the drawing commands on the specified canvas. Note that this has the effect of unfurling this picture into the destination canvas. Using the SkCanvas::drawPicture entry point gives the destination canvas the option of just taking a ref.
incomplete
incomplete
Return a cull rect for this picture. Ops recorded into this picture that attempt to draw outside the cull might not be drawn.
incomplete
incomplete
Returns a non-zero value unique among all pictures.
incomplete
incomplete
incomplete
incomplete
incomplete
Return a placeholder SkPicture. This placeholder does not draw anything itself. It has a distinct uniqueID (just like all Pictures) and will always be visible to SkSerialProcs.
incomplete
incomplete
Return the approximate number of operations in this picture. This number may be greater or less than the number of SkCanvas calls recorded: some calls may be recorded as more than one operation, or some calls may be optimized away.
incomplete
incomplete
Returns the approximate byte size of this picture, not including large ref'd objects.
incomplete
incomplete