67 maFillGradientAttribute(
153 if(!rFillTransparenceGradientAttribute.
isDefault())
155 const double fTransA(rFillTransparenceGradientAttribute.
getColorStops().front().getStopColor().luminance());
156 const double fTransB(rFillTransparenceGradientAttribute.
getColorStops().back().getStopColor().luminance());
158 fTransparence = (fTransA + fTransB) * 0.5;
169 else if(!rFillHatchAttribute.
isDefault())
187 else if(!rSdrFillGraphicAttribute.
isDefault())
207 return aRetval.
clamp();
Color GetRGBColor() const
basegfx::BColor getBColor() const
bool IsSupportedGraphic() const
bool IsTransparent() const
const basegfx::BColorStops & getColorStops() const
bool isFillBackground() const
const basegfx::BColor & getColor() const
const drawinglayer::attribute::FillGradientAttribute & getFillGradientAttribute() const
bool hasSdrFillAttribute() const
const drawinglayer::attribute::SdrFillAttribute & getFillAttribute() const
std::optional< drawinglayer::attribute::SdrFillAttribute > maFillAttribute
SdrAllFillAttributesHelper(const Color &rColor)
const drawinglayer::primitive2d::Primitive2DContainer & getPrimitive2DSequence(const basegfx::B2DRange &rPaintRange, const basegfx::B2DRange &rDefineRange) const
basegfx::B2DRange maLastDefineRange
bool isTransparent() const
bool needCompleteRepaint() const
basegfx::BColor getAverageColor(const basegfx::BColor &rFallback) const
drawinglayer::primitive2d::Primitive2DContainer maPrimitives
~SdrAllFillAttributesHelper()
void createPrimitive2DSequence(const basegfx::B2DRange &rPaintRange, const basegfx::B2DRange &rDefineRange)
std::optional< drawinglayer::attribute::FillGradientAttribute > maFillGradientAttribute
basegfx::B2DRange maLastPaintRange
const FillHatchAttribute & getHatch() const
const FillGradientAttribute & getGradient() const
const SdrFillGraphicAttribute & getFillGraphic() const
const Graphic & getFillGraphic() const
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
B2DTuple interpolate(const B2DTuple &rOld1, const B2DTuple &rOld2, double t)
attribute::FillGradientAttribute createNewTransparenceGradientAttribute(const SfxItemSet &rSet)
attribute::SdrFillAttribute createNewSdrFillAttribute(const SfxItemSet &rSet)
Primitive2DReference createPolyPolygonFillPrimitive(const basegfx::B2DPolyPolygon &rPolyPolygon, const attribute::SdrFillAttribute &rFill, const attribute::FillGradientAttribute &rFillGradient)