5 #ifndef FLUTTER_IMPELLER_ENTITY_GEOMETRY_RECT_GEOMETRY_H_
6 #define FLUTTER_IMPELLER_ENTITY_GEOMETRY_RECT_GEOMETRY_H_
41 Scalar padding_pixels_ = 0.0f;
60 const Scalar stroke_width_;
61 const Join stroke_join_;
Scalar GetAntialiasPadding() const
void SetAntialiasPadding(Scalar padding)
FillRectGeometry(Rect rect)
std::optional< Rect > GetCoverage(const Matrix &transform) const override
bool CoversArea(const Matrix &transform, const Rect &rect) const override
Determines if this geometry, transformed by the given transform, will completely cover all surface ar...
const Rect & GetRect() const
bool IsAxisAlignedRect() const override
GeometryResult GetPositionBuffer(const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
~FillRectGeometry() override
Render passes encode render commands directed as one specific render target into an underlying comman...
std::optional< Rect > GetCoverage(const Matrix &transform) const override
StrokeRectGeometry(const Rect &rect, const StrokeParameters &stroke)
~StrokeRectGeometry() override
GeometryResult GetPositionBuffer(const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
Vector2 padding
The halo padding in source space.
Join
An enum that describes ways to join two segments of a path.
A 4x4 matrix using column-major storage.
A structure to store all of the parameters related to stroking a path or basic geometry object.