LibreOffice Module svx (master) 1
|
#include <sdrallfillattributeshelper.hxx>
Public Member Functions | |
SdrAllFillAttributesHelper (const Color &rColor) | |
SdrAllFillAttributesHelper (const SfxItemSet &rSet) | |
~SdrAllFillAttributesHelper () | |
bool | isUsed () const |
bool | hasSdrFillAttribute () const |
bool | isTransparent () const |
const drawinglayer::attribute::SdrFillAttribute & | getFillAttribute () const |
const drawinglayer::attribute::FillGradientAttribute & | getFillGradientAttribute () const |
const drawinglayer::primitive2d::Primitive2DContainer & | getPrimitive2DSequence (const basegfx::B2DRange &rPaintRange, const basegfx::B2DRange &rDefineRange) const |
basegfx::BColor | getAverageColor (const basegfx::BColor &rFallback) const |
bool | needCompleteRepaint () const |
Private Member Functions | |
void | createPrimitive2DSequence (const basegfx::B2DRange &rPaintRange, const basegfx::B2DRange &rDefineRange) |
Definition at line 35 of file sdrallfillattributeshelper.hxx.
drawinglayer::attribute::SdrAllFillAttributesHelper::SdrAllFillAttributesHelper | ( | const Color & | rColor | ) |
Definition at line 54 of file sdrallfillattributeshelper.cxx.
References Color::getBColor(), Color::GetRGBColor(), and maFillAttribute.
drawinglayer::attribute::SdrAllFillAttributesHelper::SdrAllFillAttributesHelper | ( | const SfxItemSet & | rSet | ) |
Definition at line 64 of file sdrallfillattributeshelper.cxx.
References rSet.
drawinglayer::attribute::SdrAllFillAttributesHelper::~SdrAllFillAttributesHelper | ( | ) |
Definition at line 72 of file sdrallfillattributeshelper.cxx.
|
private |
Definition at line 33 of file sdrallfillattributeshelper.cxx.
References basegfx::utils::createPolygonFromRect(), drawinglayer::primitive2d::createPolyPolygonFillPrimitive(), isUsed(), maFillAttribute, maFillGradientAttribute, maLastDefineRange, maLastPaintRange, and maPrimitives.
Referenced by getPrimitive2DSequence().
basegfx::BColor drawinglayer::attribute::SdrAllFillAttributesHelper::getAverageColor | ( | const basegfx::BColor & | rFallback | ) | const |
Definition at line 141 of file sdrallfillattributeshelper.cxx.
References basegfx::BColor::clamp(), basegfx::fTools::equalZero(), drawinglayer::attribute::FillHatchAttribute::getColor(), drawinglayer::attribute::FillGradientAttribute::getColorStops(), getFillGradientAttribute(), basegfx::interpolate(), drawinglayer::attribute::FillGradientAttribute::isDefault(), drawinglayer::attribute::FillHatchAttribute::isDefault(), drawinglayer::attribute::SdrFillGraphicAttribute::isDefault(), drawinglayer::attribute::FillHatchAttribute::isFillBackground(), and maFillAttribute.
const drawinglayer::attribute::SdrFillAttribute & drawinglayer::attribute::SdrAllFillAttributesHelper::getFillAttribute | ( | ) | const |
Definition at line 104 of file sdrallfillattributeshelper.cxx.
References maFillAttribute.
Referenced by isTransparent(), and needCompleteRepaint().
const drawinglayer::attribute::FillGradientAttribute & drawinglayer::attribute::SdrAllFillAttributesHelper::getFillGradientAttribute | ( | ) | const |
Definition at line 114 of file sdrallfillattributeshelper.cxx.
References maFillGradientAttribute.
Referenced by getAverageColor().
const drawinglayer::primitive2d::Primitive2DContainer & drawinglayer::attribute::SdrAllFillAttributesHelper::getPrimitive2DSequence | ( | const basegfx::B2DRange & | rPaintRange, |
const basegfx::B2DRange & | rDefineRange | ||
) | const |
Definition at line 124 of file sdrallfillattributeshelper.cxx.
References createPrimitive2DSequence(), maLastDefineRange, maLastPaintRange, and maPrimitives.
|
inline |
Definition at line 54 of file sdrallfillattributeshelper.hxx.
Referenced by isTransparent(), and needCompleteRepaint().
bool drawinglayer::attribute::SdrAllFillAttributesHelper::isTransparent | ( | ) | const |
Definition at line 82 of file sdrallfillattributeshelper.cxx.
References getFillAttribute(), drawinglayer::attribute::SdrFillAttribute::getFillGraphic(), drawinglayer::attribute::SdrFillGraphicAttribute::getFillGraphic(), hasSdrFillAttribute(), Graphic::IsSupportedGraphic(), Graphic::IsTransparent(), maFillAttribute, and maFillGradientAttribute.
bool drawinglayer::attribute::SdrAllFillAttributesHelper::isUsed | ( | ) | const |
Definition at line 76 of file sdrallfillattributeshelper.cxx.
References maFillAttribute.
Referenced by createPrimitive2DSequence(), and needCompleteRepaint().
bool drawinglayer::attribute::SdrAllFillAttributesHelper::needCompleteRepaint | ( | ) | const |
Definition at line 210 of file sdrallfillattributeshelper.cxx.
References getFillAttribute(), drawinglayer::attribute::SdrFillAttribute::getFillGraphic(), drawinglayer::attribute::SdrFillAttribute::getGradient(), drawinglayer::attribute::SdrFillAttribute::getHatch(), hasSdrFillAttribute(), drawinglayer::attribute::FillGradientAttribute::isDefault(), drawinglayer::attribute::FillHatchAttribute::isDefault(), drawinglayer::attribute::SdrFillGraphicAttribute::isDefault(), and isUsed().
|
private |
Definition at line 40 of file sdrallfillattributeshelper.hxx.
Referenced by createPrimitive2DSequence(), getAverageColor(), getFillAttribute(), isTransparent(), isUsed(), and SdrAllFillAttributesHelper().
|
private |
Definition at line 41 of file sdrallfillattributeshelper.hxx.
Referenced by createPrimitive2DSequence(), getFillGradientAttribute(), and isTransparent().
|
private |
Definition at line 39 of file sdrallfillattributeshelper.hxx.
Referenced by createPrimitive2DSequence(), and getPrimitive2DSequence().
|
private |
Definition at line 38 of file sdrallfillattributeshelper.hxx.
Referenced by createPrimitive2DSequence(), and getPrimitive2DSequence().
|
private |
Definition at line 42 of file sdrallfillattributeshelper.hxx.
Referenced by createPrimitive2DSequence(), and getPrimitive2DSequence().