7#include "flutter/impeller/entity/geometry/ellipse_geometry.h"
9#include "flutter/impeller/entity/geometry/line_geometry.h"
21 renderer.GetTessellator()->FilledEllipse(entity.
GetTransform(), bounds_),
31 const Rect& rect)
const {
EllipseGeometry(Rect bounds)
std::optional< Rect > GetCoverage(const Matrix &transform) const override
GeometryResult GetPositionBuffer(const ContentContext &renderer, const Entity &entity, RenderPass &pass) 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...
bool IsAxisAlignedRect() const override
const Matrix & GetTransform() const
Get the global transform matrix for this Entity.
static GeometryResult ComputePositionGeometry(const ContentContext &renderer, const Tessellator::VertexGenerator &generator, const Entity &entity, RenderPass &pass)
Render passes encode render commands directed as one specific render target into an underlying comman...
static SkColor4f transform(SkColor4f c, SkColorSpace *src, SkColorSpace *dst)
A 4x4 matrix using column-major storage.
constexpr TRect TransformBounds(const Matrix &transform) const
Creates a new bounding box that contains this transformed rectangle.