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