Inherits impeller::Canvas::BlurShape.
Definition at line 198 of file canvas.cc.
◆ RRectBlurShape()
| impeller::Canvas::RRectBlurShape::RRectBlurShape |
( |
const Rect & |
rect, |
|
|
Scalar |
corner_radius |
|
) |
| |
|
inline |
Definition at line 200 of file canvas.cc.
201 : rect_(rect), corner_radius_(corner_radius) {}
◆ BuildBlurContent()
Definition at line 205 of file canvas.cc.
205 {
206 auto contents = std::make_shared<SolidRRectBlurContents>();
207 contents->SetSigma(sigma);
208 contents->SetShape(rect_, corner_radius_);
209 return contents;
210 }
◆ BuildDrawGeometry()
| const Geometry & impeller::Canvas::RRectBlurShape::BuildDrawGeometry |
( |
| ) |
|
|
inlineoverride |
Definition at line 212 of file canvas.cc.
212 {
213 return geom_.emplace(rect_,
Size(corner_radius_));
214 }
◆ GetBounds()
| Rect impeller::Canvas::RRectBlurShape::GetBounds |
( |
| ) |
const |
|
inlineoverride |
The documentation for this class was generated from the following file: