Skia
2D Graphics Library
|
Interface for externally-rendered layers. More...
#include <ExternalLayer.h>
Public Member Functions | |
virtual void | render (SkCanvas *canvas, double t)=0 |
Render layer content into the given canvas. More... | |
bool | unique () const |
May return true if the caller is the only owner. More... | |
void | ref () const |
Increment the reference count. More... | |
void | unref () const |
Decrement the reference count. More... | |
Interface for externally-rendered layers.
|
inlineinherited |
Increment the reference count.
Must be balanced by a call to unref().
|
pure virtual |
Render layer content into the given canvas.
canvas | Destination canvas |
t | Time in seconds, relative to the layer in-point (start time) |
|
inlineinherited |
May return true if the caller is the only owner.
Ensures that all previous owner's actions are complete.
|
inlineinherited |
Decrement the reference count.
If the reference count is 1 before the decrement, then delete the object. Note that if this is the case, then the object needs to have been allocated via new, and not on the stack.