Flutter Engine
The Flutter Engine
|
#include <DrawCommand.h>
Public Member Functions | |
DrawImageCommand (const SkImage *image, SkScalar left, SkScalar top, const SkSamplingOptions &, const SkPaint *paint) | |
void | execute (SkCanvas *canvas) const override |
bool | render (SkCanvas *canvas) const override |
void | toJSON (SkJSONWriter &writer, UrlDataManager &urlDataManager) const override |
uint64_t | imageId (UrlDataManager &udb) const |
Public Member Functions inherited from DrawCommand | |
DrawCommand (OpType opType) | |
virtual | ~DrawCommand () |
bool | isVisible () const |
void | setVisible (bool toggle) |
virtual void | execute (SkCanvas *) const =0 |
virtual bool | render (SkCanvas *canvas) const |
virtual void | toJSON (SkJSONWriter &writer, UrlDataManager &urlDataManager) const |
OpType | getOpType () const |
Definition at line 289 of file DrawCommand.h.
DrawImageCommand::DrawImageCommand | ( | const SkImage * | image, |
SkScalar | left, | ||
SkScalar | top, | ||
const SkSamplingOptions & | sampling, | ||
const SkPaint * | paint | ||
) |
Definition at line 1193 of file DrawCommand.cpp.
|
overridevirtual |
Implements DrawCommand.
Definition at line 1205 of file DrawCommand.cpp.
uint64_t DrawImageCommand::imageId | ( | UrlDataManager & | udb | ) | const |
Definition at line 1221 of file DrawCommand.cpp.
|
overridevirtual |
Reimplemented from DrawCommand.
Definition at line 1209 of file DrawCommand.cpp.
|
overridevirtual |
Reimplemented from DrawCommand.
Definition at line 1225 of file DrawCommand.cpp.