Public Member Functions | |
| BoundsTolerance ()=default | |
| BoundsTolerance (const BoundsTolerance &)=default | |
| BoundsTolerance | addBoundsPadding (DlScalar bounds_pad_x, DlScalar bounds_pad_y) const |
| BoundsTolerance | mulScale (DlScalar scale_x, DlScalar scale_y) const |
| BoundsTolerance | addAbsolutePadding (DlScalar absolute_pad_x, DlScalar absolute_pad_y) const |
| BoundsTolerance | addPostClipPadding (DlScalar absolute_pad_x, DlScalar absolute_pad_y) const |
| BoundsTolerance | addDiscreteOffset (DlScalar discrete_offset) const |
| BoundsTolerance | clip (DlRect clip) const |
| bool | overflows (DlIRect pix_bounds, int worst_bounds_pad_x, int worst_bounds_pad_y) const |
| DlScalar | discrete_offset () const |
| bool | operator== (BoundsTolerance const &other) const |
Static Public Member Functions | |
| static DlRect | Scale (const DlRect &rect, const DlPoint &scales) |
Definition at line 262 of file dl_rendering_unittests.cc.
|
default |
Referenced by addAbsolutePadding(), addBoundsPadding(), addDiscreteOffset(), addPostClipPadding(), clip(), and mulScale().
|
default |
|
inline |
Definition at line 280 of file dl_rendering_unittests.cc.
References BoundsTolerance().
Referenced by flutter::testing::TEST_F().
|
inline |
Definition at line 267 of file dl_rendering_unittests.cc.
References BoundsTolerance().
Referenced by flutter::testing::TestParameters::adjust(), flutter::testing::TestParameters::lineAdjust(), flutter::testing::CanvasCompareTester::RenderWithAttributes(), flutter::testing::CanvasCompareTester::RenderWithStrokes(), and flutter::testing::TEST_F().
|
inline |
Definition at line 294 of file dl_rendering_unittests.cc.
References BoundsTolerance(), and discrete_offset().
|
inline |
Definition at line 287 of file dl_rendering_unittests.cc.
References BoundsTolerance().
Referenced by flutter::testing::CanvasCompareTester::RenderWithClips().
|
inline |
Definition at line 300 of file dl_rendering_unittests.cc.
References BoundsTolerance(), clip(), and impeller::TRect< T >::IntersectionOrEmpty().
Referenced by clip(), and flutter::testing::CanvasCompareTester::RenderWithClips().
|
inline |
Definition at line 337 of file dl_rendering_unittests.cc.
Referenced by addDiscreteOffset(), flutter::testing::TestParameters::adjust(), and flutter::testing::TestParameters::lineAdjust().
|
inline |
Definition at line 274 of file dl_rendering_unittests.cc.
References BoundsTolerance().
Referenced by flutter::testing::CanvasCompareTester::RenderWithTransforms().
|
inline |
Definition at line 339 of file dl_rendering_unittests.cc.
|
inline |
Definition at line 312 of file dl_rendering_unittests.cc.
References impeller::TRect< T >::Expand(), FML_LOG, impeller::TRect< T >::GetBottom(), impeller::TRect< T >::GetLeft(), impeller::TRect< T >::GetRight(), impeller::TRect< T >::GetTop(), impeller::TRect< T >::IntersectionOrEmpty(), impeller::TRect< Scalar >::Make(), impeller::TRect< T >::RoundOut(), Scale(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by flutter::testing::CanvasCompareTester::showBoundsOverflow().
|
inlinestatic |
Definition at line 306 of file dl_rendering_unittests.cc.
References impeller::TRect< T >::Expand(), impeller::TRect< T >::GetHeight(), impeller::TRect< T >::GetWidth(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Referenced by overflows().