Flutter Engine
The Flutter Engine
|
#include <DrawCommand.h>
Public Member Functions | |
DrawImageRectCommand (const SkImage *image, const SkRect &src, const SkRect &dst, const SkSamplingOptions &sampling, const SkPaint *paint, SkCanvas::SrcRectConstraint constraint) | |
void | execute (SkCanvas *canvas) const override |
bool | render (SkCanvas *canvas) const override |
void | toJSON (SkJSONWriter &writer, UrlDataManager &urlDataManager) const override |
uint64_t | imageId (UrlDataManager &udm) 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 330 of file DrawCommand.h.
DrawImageRectCommand::DrawImageRectCommand | ( | const SkImage * | image, |
const SkRect & | src, | ||
const SkRect & | dst, | ||
const SkSamplingOptions & | sampling, | ||
const SkPaint * | paint, | ||
SkCanvas::SrcRectConstraint | constraint | ||
) |
Definition at line 1302 of file DrawCommand.cpp.
|
overridevirtual |
Implements DrawCommand.
Definition at line 1316 of file DrawCommand.cpp.
uint64_t DrawImageRectCommand::imageId | ( | UrlDataManager & | udm | ) | const |
Definition at line 1330 of file DrawCommand.cpp.
|
overridevirtual |
Reimplemented from DrawCommand.
Definition at line 1320 of file DrawCommand.cpp.
|
overridevirtual |
Reimplemented from DrawCommand.
Definition at line 1334 of file DrawCommand.cpp.