Inherits impeller::Canvas::BlurShape.
Definition at line 230 of file canvas.cc.
◆ RRectBlurShape()
| impeller::Canvas::RRectBlurShape::RRectBlurShape |
( |
const Rect & |
rect, |
|
|
Scalar |
corner_radius |
|
) |
| |
|
inline |
Definition at line 232 of file canvas.cc.
233 : rect_(rect), corner_radius_(corner_radius) {}
◆ BuildBlurContent()
Definition at line 237 of file canvas.cc.
238 auto contents = std::make_shared<SolidRRectBlurContents>();
239 contents->SetSigma(sigma);
240 contents->SetShape(rect_, corner_radius_);
◆ BuildDrawGeometry()
| const Geometry& impeller::Canvas::RRectBlurShape::BuildDrawGeometry |
( |
| ) |
|
|
inlineoverride |
Definition at line 244 of file canvas.cc.
245 return geom_.emplace(rect_,
Size(corner_radius_));
◆ GetBounds()
| Rect impeller::Canvas::RRectBlurShape::GetBounds |
( |
| ) |
const |
|
inlineoverride |
The documentation for this class was generated from the following file: