50 virtual void create2DDecomposition(
69 virtual sal_uInt32 getPrimitive2DID()
const override;
74void ShadowPrimitive::create2DDecomposition(
85 aRange.expand(
basegfx::B2DTuple(getSecondPosition().getX(), getSecondPosition().getY() + (2.0 * getDiscreteUnit())));
88 css::awt::GradientStyle_LINEAR,
100 std::move(aFillGradientAttribute)));
105 aRange.expand(
basegfx::B2DTuple(getSecondPosition().getX(), getSecondPosition().getY() + (4.0 * getDiscreteUnit())));
107 css::awt::GradientStyle_LINEAR,
116 rContainer.push_back(
119 std::move(aFillGradientAttribute)));
124 aRange.expand(
basegfx::B2DTuple(getSecondPosition().getX(), getSecondPosition().getY() + (4.0 * getDiscreteUnit())));
126 css::awt::GradientStyle_LINEAR,
135 rContainer.push_back(
138 std::move(aFillGradientAttribute)));
150 if(drawinglayer::primitive2d::DiscreteMetricDependentPrimitive2D::operator==(rPrimitive))
152 const ShadowPrimitive& rCompare =
static_cast< const ShadowPrimitive&
>(rPrimitive);
155 && getSecondPosition() == rCompare.getSecondPosition()
162sal_uInt32 ShadowPrimitive::getPrimitive2DID()
const
169 std::unique_ptr<ShadowOverlayObject> pShadowOverlayObject;
178 if ( xOverlayManager.is() )
183 xOverlayManager->add(*pShadowOverlayObject);
188 return pShadowOverlayObject;
194 : OverlayObjectWithBasePosition(rBasePos, aBaseColor)
ShadowState maShadowState
basegfx::B2DPoint maBasePosition
basegfx::B2DPoint maSecondPosition
SdrPaintWindow * GetPaintWindow(sal_uInt32 nIndex) const
rtl::Reference< sdr::overlay::OverlayManager > const & GetOverlayManager() const
virtual SdrView * GetDrawView() const override
bool equal(const Tuple2D< TYPE > &rTup) const
void remove(OverlayObject &rOverlayObject)
const basegfx::B2DPoint & getBasePosition() const
basegfx::B2DPoint maBasePosition
OverlayManager * getOverlayManager() const
#define PRIMITIVE2D_ID_SWSIDEBARSHADOWPRIMITIVE
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)