|
| | ClipExpector (const std::string &file, int line) |
| |
| | ~ClipExpector () |
| |
| ClipExpector & | addExpectation (const DlRect &rect, DlClipOp clip_op=DlClipOp::kIntersect, bool is_aa=false) |
| |
| ClipExpector & | addOvalExpectation (const DlRect &rect, DlClipOp clip_op=DlClipOp::kIntersect, bool is_aa=false) |
| |
| ClipExpector & | addExpectation (const DlRoundRect &rrect, DlClipOp clip_op=DlClipOp::kIntersect, bool is_aa=false) |
| |
| ClipExpector & | addExpectation (const DlPath &path, DlClipOp clip_op=DlClipOp::kIntersect, bool is_aa=false) |
| |
| void | clipRect (const DlRect &rect, DlClipOp clip_op, bool is_aa) override |
| |
| void | clipOval (const DlRect &bounds, DlClipOp clip_op, bool is_aa) override |
| |
| void | clipRoundRect (const DlRoundRect &rrect, DlClipOp clip_op, bool is_aa) override |
| |
| void | clipRoundSuperellipse (const DlRoundSuperellipse &rse, DlClipOp clip_op, bool is_aa) override |
| |
| void | clipPath (const DlPath &path, DlClipOp clip_op, bool is_aa) override |
| |
| virtual void | save (uint32_t total_content_depth) |
| |
| virtual void | saveLayer (const DlRect &bounds, const SaveLayerOptions &options, uint32_t total_content_depth, DlBlendMode max_content_blend_mode, const DlImageFilter *backdrop=nullptr, std::optional< int64_t > backdrop_id=std::nullopt) |
| |
| virtual void | saveLayer (const DlRect *bounds, const SaveLayerOptions options, const DlImageFilter *backdrop=nullptr, std::optional< int64_t > backdrop_id=std::nullopt) final |
| |
Definition at line 4579 of file display_list_unittests.cc.
◆ ClipExpector()
| flutter::testing::ClipExpector::ClipExpector |
( |
const std::string & |
file, |
|
|
int |
line |
|
) |
| |
|
inlineexplicit |
◆ ~ClipExpector()
| flutter::testing::ClipExpector::~ClipExpector |
( |
| ) |
|
|
inline |
Definition at line 4588 of file display_list_unittests.cc.
4588 {
4589 EXPECT_EQ(index_, clip_expectations_.size()) << label();
4590 while (index_ < clip_expectations_.size()) {
4591 auto expect = clip_expectations_[index_];
4592 FML_LOG(ERROR) <<
"leftover clip shape[" << index_ <<
"] = " << expect;
4593 index_++;
4594 }
4595 }
#define FML_LOG(severity)
References FML_LOG.
◆ addExpectation() [1/3]
Definition at line 4633 of file display_list_unittests.cc.
4635 {
4636 clip_expectations_.push_back({
4638 .is_oval = false,
4639 .clip_op = clip_op,
4640 .is_aa = is_aa,
4641 });
4642 return *this;
4643 }
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
References flutter::path.
◆ addExpectation() [2/3]
Definition at line 4597 of file display_list_unittests.cc.
4599 {
4600 clip_expectations_.push_back({
4601 .shape = rect,
4602 .is_oval = false,
4603 .clip_op = clip_op,
4604 .is_aa = is_aa,
4605 });
4606 return *this;
4607 }
◆ addExpectation() [3/3]
Definition at line 4621 of file display_list_unittests.cc.
4623 {
4624 clip_expectations_.push_back({
4625 .shape = rrect,
4626 .is_oval = false,
4627 .clip_op = clip_op,
4628 .is_aa = is_aa,
4629 });
4630 return *this;
4631 }
◆ addOvalExpectation()
Definition at line 4609 of file display_list_unittests.cc.
4611 {
4612 clip_expectations_.push_back({
4613 .shape = rect,
4614 .is_oval = true,
4615 .clip_op = clip_op,
4616 .is_aa = is_aa,
4617 });
4618 return *this;
4619 }
◆ clipOval()
| void flutter::testing::ClipExpector::clipOval |
( |
const DlRect & |
bounds, |
|
|
DlClipOp |
clip_op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverridevirtual |
◆ clipPath()
| void flutter::testing::ClipExpector::clipPath |
( |
const DlPath & |
path, |
|
|
DlClipOp |
clip_op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverridevirtual |
◆ clipRect()
| void flutter::testing::ClipExpector::clipRect |
( |
const DlRect & |
rect, |
|
|
DlClipOp |
clip_op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverridevirtual |
◆ clipRoundRect()
| void flutter::testing::ClipExpector::clipRoundRect |
( |
const DlRoundRect & |
rrect, |
|
|
DlClipOp |
clip_op, |
|
|
bool |
is_aa |
|
) |
| |
|
inlineoverridevirtual |
◆ clipRoundSuperellipse()
The documentation for this class was generated from the following file: