Scalar GetOpacityFactor() const
Get the opacity factor for this color source.
virtual bool IsSolidColor() const
void SetInheritedOpacity(Scalar opacity) override
Inherit the provided opacity.
void SetEffectTransform(Matrix matrix)
Set the effect transform for this color source.
~ColorSourceContents() override
void SetGeometry(const Geometry *geometry)
Set the geometry that this contents will use to render.
const Geometry * GetGeometry() const
Get the geometry that this contents will use to render.
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 AppliesAlphaForStrokeCoverage(const Matrix &transform) const
Whether the entity should be treated as non-opaque due to stroke geometry requiring alpha for coverag...
void SetOpacityFactor(Scalar opacity)
Set the opacity factor for this color source.
const Matrix & GetInverseEffectTransform() const
Set the inverted effect transform for this color source.