Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
flutter::testing::ClipExpector::Expectation Struct Reference

Public Member Functions

std::string shape_name ()
 

Public Attributes

std::variant< SkRect, SkRRect, SkPathshape
 
ClipOp clip_op
 
bool is_aa
 

Detailed Description

Definition at line 4341 of file display_list_unittests.cc.

Member Function Documentation

◆ shape_name()

std::string flutter::testing::ClipExpector::Expectation::shape_name ( )
inline

Definition at line 4346 of file display_list_unittests.cc.

4346 {
4347 switch (shape.index()) {
4348 case 0:
4349 return "SkRect";
4350 case 1:
4351 return "SkRRect";
4352 case 2:
4353 return "SkPath";
4354 default:
4355 return "Unknown";
4356 }
4357 }
std::variant< SkRect, SkRRect, SkPath > shape

Member Data Documentation

◆ clip_op

ClipOp flutter::testing::ClipExpector::Expectation::clip_op

Definition at line 4343 of file display_list_unittests.cc.

◆ is_aa

bool flutter::testing::ClipExpector::Expectation::is_aa

Definition at line 4344 of file display_list_unittests.cc.

◆ shape

std::variant<SkRect, SkRRect, SkPath> flutter::testing::ClipExpector::Expectation::shape

Definition at line 4342 of file display_list_unittests.cc.


The documentation for this struct was generated from the following file: