Inherits flutter::LayerStateStack::Delegate.
|
| DlCanvasDelegate (DlCanvas *canvas) |
|
void | decommission () override |
|
DlCanvas * | canvas () const override |
|
SkRect | local_cull_rect () const override |
|
SkRect | device_cull_rect () const override |
|
SkM44 | matrix_4x4 () const override |
|
SkMatrix | matrix_3x3 () const override |
|
bool | content_culled (const SkRect &content_bounds) const override |
|
void | save () override |
|
void | saveLayer (const SkRect &bounds, LayerStateStack::RenderingAttributes &attributes, DlBlendMode blend_mode, const DlImageFilter *backdrop) override |
|
void | restore () override |
|
void | translate (SkScalar tx, SkScalar ty) override |
|
void | transform (const SkM44 &m44) override |
|
void | transform (const SkMatrix &matrix) override |
|
void | integralTransform () override |
|
void | clipRect (const SkRect &rect, ClipOp op, bool is_aa) override |
|
void | clipRRect (const SkRRect &rrect, ClipOp op, bool is_aa) override |
|
void | clipPath (const SkPath &path, ClipOp op, bool is_aa) override |
|
Definition at line 75 of file layer_state_stack.cc.
◆ DlCanvasDelegate()
flutter::DlCanvasDelegate::DlCanvasDelegate |
( |
DlCanvas * |
canvas | ) |
|
|
inlineexplicit |
Definition at line 77 of file layer_state_stack.cc.
DlCanvas * canvas() const override
virtual int GetSaveCount() const =0
◆ canvas()
DlCanvas * flutter::DlCanvasDelegate::canvas |
( |
| ) |
const |
|
inlineoverride |
◆ clipPath()
void flutter::DlCanvasDelegate::clipPath |
( |
const SkPath & |
path, |
|
|
ClipOp |
op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverride |
Definition at line 129 of file layer_state_stack.cc.
129 {
131 }
virtual void ClipPath(const SkPath &path, ClipOp clip_op=ClipOp::kIntersect, bool is_aa=false)=0
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ clipRect()
void flutter::DlCanvasDelegate::clipRect |
( |
const SkRect & |
rect, |
|
|
ClipOp |
op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverride |
Definition at line 123 of file layer_state_stack.cc.
123 {
125 }
virtual void ClipRect(const SkRect &rect, ClipOp clip_op=ClipOp::kIntersect, bool is_aa=false)=0
sk_sp< SkBlender > blender SkRect rect
◆ clipRRect()
void flutter::DlCanvasDelegate::clipRRect |
( |
const SkRRect & |
rrect, |
|
|
ClipOp |
op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverride |
Definition at line 126 of file layer_state_stack.cc.
126 {
128 }
virtual void ClipRRect(const SkRRect &rrect, ClipOp clip_op=ClipOp::kIntersect, bool is_aa=false)=0
◆ content_culled()
bool flutter::DlCanvasDelegate::content_culled |
( |
const SkRect & |
content_bounds | ) |
const |
|
inlineoverride |
Definition at line 94 of file layer_state_stack.cc.
94 {
96 }
virtual bool QuickReject(const SkRect &bounds) const =0
◆ decommission()
void flutter::DlCanvasDelegate::decommission |
( |
| ) |
|
|
inlineoverride |
◆ device_cull_rect()
SkRect flutter::DlCanvasDelegate::device_cull_rect |
( |
| ) |
const |
|
inlineoverride |
Definition at line 87 of file layer_state_stack.cc.
87 {
89 }
virtual SkRect GetDestinationClipBounds() const =0
◆ integralTransform()
void flutter::DlCanvasDelegate::integralTransform |
( |
| ) |
|
|
inlineoverride |
Definition at line 116 of file layer_state_stack.cc.
116 {
120 }
121 }
SkM44 matrix_4x4() const override
virtual void SetTransform(const SkMatrix *matrix)=0
static bool ComputeIntegralTransCTM(const SkMatrix &in, SkMatrix *out)
Snap the translation components of the |in| matrix to integers and store the snapped matrix in |out|.
◆ local_cull_rect()
SkRect flutter::DlCanvasDelegate::local_cull_rect |
( |
| ) |
const |
|
inlineoverride |
◆ matrix_3x3()
SkMatrix flutter::DlCanvasDelegate::matrix_3x3 |
( |
| ) |
const |
|
inlineoverride |
◆ matrix_4x4()
SkM44 flutter::DlCanvasDelegate::matrix_4x4 |
( |
| ) |
const |
|
inlineoverride |
Definition at line 90 of file layer_state_stack.cc.
90 {
92 }
virtual SkM44 GetTransformFullPerspective() const =0
◆ restore()
void flutter::DlCanvasDelegate::restore |
( |
| ) |
|
|
inlineoverride |
◆ save()
void flutter::DlCanvasDelegate::save |
( |
| ) |
|
|
inlineoverride |
◆ saveLayer()
void flutter::DlCanvasDelegate::saveLayer |
( |
const SkRect & |
bounds, |
|
|
LayerStateStack::RenderingAttributes & |
attributes, |
|
|
DlBlendMode |
blend_mode, |
|
|
const DlImageFilter * |
backdrop |
|
) |
| |
|
inlineoverride |
Definition at line 99 of file layer_state_stack.cc.
102 {
106 }
virtual void SaveLayer(const SkRect *bounds, const DlPaint *paint=nullptr, const DlImageFilter *backdrop=nullptr)=0
Optional< SkRect > bounds
sk_sp< const SkImageFilter > backdrop
#define TRACE_EVENT0(category_group, name)
◆ transform() [1/2]
void flutter::DlCanvasDelegate::transform |
( |
const SkM44 & |
m44 | ) |
|
|
inlineoverride |
◆ transform() [2/2]
void flutter::DlCanvasDelegate::transform |
( |
const SkMatrix & |
matrix | ) |
|
|
inlineoverride |
◆ translate()
Definition at line 109 of file layer_state_stack.cc.
109 {
111 }
virtual void Translate(SkScalar tx, SkScalar ty)=0
The documentation for this class was generated from the following file: