A custom |DlOpReceiver| that records some |DlOps| it receives.
More...
|
int | lineCount () const |
|
int | rectCount () const |
|
int | pathCount () const |
|
int | textFrameCount () const |
|
int | blobCount () const |
|
bool | hasPathEffect () const |
|
virtual bool | PrefersImpellerPaths () const |
|
virtual void | clipPath (const CacheablePath &cache, ClipOp clip_op, bool is_aa) |
|
virtual void | drawPath (const CacheablePath &cache) |
|
virtual void | drawShadow (const CacheablePath &cache, const DlColor color, const SkScalar elevation, bool transparent_occluder, SkScalar dpr) |
|
virtual void | save (uint32_t total_content_depth) |
|
virtual void | saveLayer (const SkRect &bounds, const SaveLayerOptions &options, uint32_t total_content_depth, const DlImageFilter *backdrop=nullptr) |
|
virtual void | saveLayer (const SkRect *bounds, const SaveLayerOptions options, const DlImageFilter *backdrop=nullptr) final |
|
A custom |DlOpReceiver| that records some |DlOps| it receives.
Definition at line 22 of file paragraph_unittests.cc.
◆ blobCount()
int flutter::testing::DlOpRecorder::blobCount |
( |
| ) |
const |
|
inline |
◆ drawLine()
void flutter::testing::DlOpRecorder::drawLine |
( |
const SkPoint & |
p0, |
|
|
const SkPoint & |
p1 |
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ drawPath()
void flutter::testing::DlOpRecorder::drawPath |
( |
const SkPath & |
path | ) |
|
|
inlineoverrideprivatevirtual |
Implements flutter::DlOpReceiver.
Definition at line 54 of file paragraph_unittests.cc.
54{ paths_.push_back(
path); }
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
◆ drawRect()
void flutter::testing::DlOpRecorder::drawRect |
( |
const SkRect & |
rect | ) |
|
|
inlineoverrideprivatevirtual |
◆ drawTextBlob()
|
inlineoverrideprivatevirtual |
◆ drawTextFrame()
|
inlineoverrideprivatevirtual |
◆ hasPathEffect()
bool flutter::testing::DlOpRecorder::hasPathEffect |
( |
| ) |
const |
|
inline |
◆ lineCount()
int flutter::testing::DlOpRecorder::lineCount |
( |
| ) |
const |
|
inline |
◆ pathCount()
int flutter::testing::DlOpRecorder::pathCount |
( |
| ) |
const |
|
inline |
◆ rectCount()
int flutter::testing::DlOpRecorder::rectCount |
( |
| ) |
const |
|
inline |
◆ setPathEffect()
void flutter::testing::DlOpRecorder::setPathEffect |
( |
const DlPathEffect * |
effect | ) |
|
|
inlineoverrideprivatevirtual |
◆ textFrameCount()
int flutter::testing::DlOpRecorder::textFrameCount |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: