|
| | 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 4589 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 4598 of file display_list_unittests.cc.
4598 {
4599 EXPECT_EQ(index_, clip_expectations_.size()) << label();
4600 while (index_ < clip_expectations_.size()) {
4601 auto expect = clip_expectations_[index_];
4602 FML_LOG(ERROR) <<
"leftover clip shape[" << index_ <<
"] = " << expect;
4603 index_++;
4604 }
4605 }
#define FML_LOG(severity)
References FML_LOG.
◆ addExpectation() [1/3]
Definition at line 4643 of file display_list_unittests.cc.
4645 {
4646 clip_expectations_.push_back({
4648 .is_oval = false,
4649 .clip_op = clip_op,
4650 .is_aa = is_aa,
4651 });
4652 return *this;
4653 }
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 4607 of file display_list_unittests.cc.
4609 {
4610 clip_expectations_.push_back({
4611 .shape = rect,
4612 .is_oval = false,
4613 .clip_op = clip_op,
4614 .is_aa = is_aa,
4615 });
4616 return *this;
4617 }
◆ addExpectation() [3/3]
Definition at line 4631 of file display_list_unittests.cc.
4633 {
4634 clip_expectations_.push_back({
4635 .shape = rrect,
4636 .is_oval = false,
4637 .clip_op = clip_op,
4638 .is_aa = is_aa,
4639 });
4640 return *this;
4641 }
◆ addOvalExpectation()
Definition at line 4619 of file display_list_unittests.cc.
4621 {
4622 clip_expectations_.push_back({
4623 .shape = rect,
4624 .is_oval = true,
4625 .clip_op = clip_op,
4626 .is_aa = is_aa,
4627 });
4628 return *this;
4629 }
◆ 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: