LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
sdr::overlay::OverlayObjectList Class Referencefinal

#include <overlayobjectlist.hxx>

Public Member Functions

 OverlayObjectList ()
 
 OverlayObjectList (const OverlayObjectList &)=delete
 
OverlayObjectListoperator= (const OverlayObjectList &)=delete
 
 ~OverlayObjectList ()
 
void clear ()
 
void append (std::unique_ptr< OverlayObject > pOverlayObject)
 
sal_uInt32 count () const
 
OverlayObjectgetOverlayObject (sal_uInt32 nIndex) const
 
bool isHitLogic (const basegfx::B2DPoint &rLogicPosition, double fLogicTolerance=0.0) const
 
bool isHitPixel (const Point &rDiscretePosition) const
 
basegfx::B2DRange getBaseRange () const
 

Private Attributes

::std::vector< std::unique_ptr< OverlayObject > > maVector
 

Detailed Description

Definition at line 36 of file overlayobjectlist.hxx.

Constructor & Destructor Documentation

sdr::overlay::OverlayObjectList::OverlayObjectList ( )
inline

Definition at line 42 of file overlayobjectlist.hxx.

sdr::overlay::OverlayObjectList::OverlayObjectList ( const OverlayObjectList )
delete
sdr::overlay::OverlayObjectList::~OverlayObjectList ( )

Definition at line 37 of file overlayobjectlist.cxx.

References clear().

Member Function Documentation

void sdr::overlay::OverlayObjectList::append ( std::unique_ptr< OverlayObject pOverlayObject)
void sdr::overlay::OverlayObjectList::clear ( )
sal_uInt32 sdr::overlay::OverlayObjectList::count ( ) const
inline
basegfx::B2DRange sdr::overlay::OverlayObjectList::getBaseRange ( ) const

Definition at line 134 of file overlayobjectlist.cxx.

References basegfx::B2DRange::expand(), and maVector.

Referenced by SdrDragMethod::getCurrentRange().

OverlayObject& sdr::overlay::OverlayObjectList::getOverlayObject ( sal_uInt32  nIndex) const
inline
bool sdr::overlay::OverlayObjectList::isHitLogic ( const basegfx::B2DPoint rLogicPosition,
double  fLogicTolerance = 0.0 
) const
bool sdr::overlay::OverlayObjectList::isHitPixel ( const Point rDiscretePosition) const
OverlayObjectList& sdr::overlay::OverlayObjectList::operator= ( const OverlayObjectList )
delete

Member Data Documentation

::std::vector< std::unique_ptr<OverlayObject> > sdr::overlay::OverlayObjectList::maVector
private

Definition at line 39 of file overlayobjectlist.hxx.

Referenced by append(), clear(), getBaseRange(), isHitLogic(), and isHitPixel().


The documentation for this class was generated from the following files: