std::function< Color(Color)> ColorFilterProc
Draws a fast solid color blur of an rounded rectangle. Only supports RRects with fully symmetrical ra...
std::optional< Rect > GetCoverage(const Entity &entity) const override
Get the area of the render pass that will be affected when this contents is rendered.
bool ApplyColorFilter(const ColorFilterProc &color_filter_proc) override
If possible, applies a color filter to this contents inputs on the CPU.
bool Render(const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
void SetSigma(Sigma sigma)
~SolidRRectBlurContents() override
void SetColor(Color color)
void SetRRect(std::optional< Rect > rect, Size corner_radii={})