Inherits flutter::LayerStateStack::Delegate.
|
| PrerollDelegate (const SkRect &cull_rect, const SkMatrix &matrix) |
|
void | decommission () override |
|
SkM44 | matrix_4x4 () const override |
|
SkMatrix | matrix_3x3 () const override |
|
SkRect | local_cull_rect () const override |
|
SkRect | device_cull_rect () const override |
|
bool | content_culled (const SkRect &content_bounds) const override |
|
void | save () override |
|
void | saveLayer (const SkRect &bounds, LayerStateStack::RenderingAttributes &attributes, DlBlendMode blend, 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 138 of file layer_state_stack.cc.
◆ PrerollDelegate()
flutter::PrerollDelegate::PrerollDelegate |
( |
const SkRect & |
cull_rect, |
|
|
const SkMatrix & |
matrix |
|
) |
| |
|
inline |
Definition at line 140 of file layer_state_stack.cc.
140 {
141 save_stack_.emplace_back(cull_rect,
matrix);
142 }
unsigned useCenter Optional< SkMatrix > matrix
◆ clipPath()
void flutter::PrerollDelegate::clipPath |
( |
const SkPath & |
path, |
|
|
ClipOp |
op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverride |
Definition at line 192 of file layer_state_stack.cc.
192 {
194 }
void clipPath(const SkPath &path, ClipOp op, bool is_aa)
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::PrerollDelegate::clipRect |
( |
const SkRect & |
rect, |
|
|
ClipOp |
op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverride |
Definition at line 186 of file layer_state_stack.cc.
186 {
188 }
void clipRect(const DlRect &rect, ClipOp op, bool is_aa)
sk_sp< SkBlender > blender SkRect rect
◆ clipRRect()
void flutter::PrerollDelegate::clipRRect |
( |
const SkRRect & |
rrect, |
|
|
ClipOp |
op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverride |
Definition at line 189 of file layer_state_stack.cc.
189 {
191 }
void clipRRect(const SkRRect &rrect, ClipOp op, bool is_aa)
◆ content_culled()
bool flutter::PrerollDelegate::content_culled |
( |
const SkRect & |
content_bounds | ) |
const |
|
inlineoverride |
Definition at line 152 of file layer_state_stack.cc.
152 {
154 }
bool content_culled(const DlRect &content_bounds) const
◆ decommission()
void flutter::PrerollDelegate::decommission |
( |
| ) |
|
|
inlineoverride |
◆ device_cull_rect()
SkRect flutter::PrerollDelegate::device_cull_rect |
( |
| ) |
const |
|
inlineoverride |
◆ integralTransform()
void flutter::PrerollDelegate::integralTransform |
( |
| ) |
|
|
inlineoverride |
Definition at line 170 of file layer_state_stack.cc.
170 {
171 if (state().using_4x4_matrix()) {
174 &integral)) {
176 }
177 } else {
180 &integral)) {
182 }
183 }
184 }
void setTransform(const DlMatrix &matrix)
SkMatrix matrix_3x3() const override
SkM44 matrix_4x4() const override
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::PrerollDelegate::local_cull_rect |
( |
| ) |
const |
|
inlineoverride |
◆ matrix_3x3()
SkMatrix flutter::PrerollDelegate::matrix_3x3 |
( |
| ) |
const |
|
inlineoverride |
◆ matrix_4x4()
SkM44 flutter::PrerollDelegate::matrix_4x4 |
( |
| ) |
const |
|
inlineoverride |
◆ restore()
void flutter::PrerollDelegate::restore |
( |
| ) |
|
|
inlineoverride |
◆ save()
void flutter::PrerollDelegate::save |
( |
| ) |
|
|
inlineoverride |
◆ saveLayer()
void flutter::PrerollDelegate::saveLayer |
( |
const SkRect & |
bounds, |
|
|
LayerStateStack::RenderingAttributes & |
attributes, |
|
|
DlBlendMode |
blend, |
|
|
const DlImageFilter * |
backdrop |
|
) |
| |
|
inlineoverride |
◆ transform() [1/2]
void flutter::PrerollDelegate::transform |
( |
const SkM44 & |
m44 | ) |
|
|
inlineoverride |
◆ transform() [2/2]
void flutter::PrerollDelegate::transform |
( |
const SkMatrix & |
matrix | ) |
|
|
inlineoverride |
◆ translate()
The documentation for this class was generated from the following file: