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