Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkPicture::AbortCallback Class Referenceabstract

Subclasses of this can be passed to playback(). More...

#include <SkPicture.h>

Public Member Functions

virtual bool abort ()=0
 

Detailed Description

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.


The documentation for this class was generated from the following file: