39 const sal_uInt32
nCount(rRanges.size());
48 aRetval.
append(aDiscretePolygon);
78 const double fTransparence( nTransparence / 100.0 );
90 std::move(aPolyPolygon),
106 std::vector< basegfx::B2DRange >&& rRanges,
107 const bool bShowSolidBorder )
109 std::unique_ptr<OverlayRanges> pOverlayRanges;
112 if ( pView !=
nullptr )
117 if ( xTargetOverlay.is() )
120 xTargetOverlay->add( *pOverlayRanges );
124 return pOverlayRanges;
129 std::vector< basegfx::B2DRange >&& rRanges,
130 const bool bShowSolidBorder )
131 :
sdr::overlay::OverlayObject( rColor )
132 , maRanges(
std::move(rRanges) )
133 , mbShowSolidBorder( bShowSolidBorder )
SdrPaintWindow * GetPaintWindow(sal_uInt32 nIndex) const
rtl::Reference< sdr::overlay::OverlayManager > const & GetOverlayManager() const
virtual SdrView * GetDrawView() const override
void append(const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
void remove(OverlayObject &rOverlayObject)
const Color & getBaseColor() const
void allowAntiAliase(bool bNew)
OverlayManager * getOverlayManager() const
static std::unique_ptr< OverlayRanges > CreateOverlayRange(SwView const &rDocView, const Color &rColor, std::vector< basegfx::B2DRange > &&rRanges, const bool bShowSolidBorder)
virtual ~OverlayRanges() override
std::vector< basegfx::B2DRange > maRanges
void setRanges(std::vector< basegfx::B2DRange > &&rNew)
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override
const std::vector< basegfx::B2DRange > & getRanges() const
OverlayRanges(const Color &rColor, std::vector< basegfx::B2DRange > &&rRanges, const bool bShowSolidBorder)
sal_uInt16 GetTransparentSelectionPercent()
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
B2DPolyPolygon solvePolygonOperationOr(const B2DPolyPolygon &rCandidateA, const B2DPolyPolygon &rCandidateB)
rtl::Reference< BasePrimitive2D > Primitive2DReference