LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
SdrGluePointList Class Reference

#include <svdglue.hxx>

Public Member Functions

 SdrGluePointList ()
 
 SdrGluePointList (const SdrGluePointList &rSrcList)
 
void Clear ()
 
SdrGluePointListoperator= (const SdrGluePointList &rSrcList)
 
sal_uInt16 GetCount () const
 
sal_uInt16 Insert (const SdrGluePoint &rGP)
 
void Delete (sal_uInt16 nPos)
 
SdrGluePointoperator[] (sal_uInt16 nPos)
 
const SdrGluePointoperator[] (sal_uInt16 nPos) const
 
sal_uInt16 FindGluePoint (sal_uInt16 nId) const
 
sal_uInt16 HitTest (const Point &rPnt, const OutputDevice &rOut, const SdrObject *pObj) const
 
void Invalidate (vcl::Window &rWin, const SdrObject *pObj) const
 
void SetReallyAbsolute (bool bOn, const SdrObject &rObj)
 
void Rotate (const Point &rRef, long nAngle, double sn, double cs, const SdrObject *pObj)
 
void Mirror (const Point &rRef1, const Point &rRef2, const SdrObject *pObj)
 
void Mirror (const Point &rRef1, const Point &rRef2, long nAngle, const SdrObject *pObj)
 
void Shear (const Point &rRef, double tn, bool bVShear, const SdrObject *pObj)
 

Private Attributes

std::vector< std::unique_ptr< SdrGluePoint > > aList
 

Detailed Description

Definition at line 118 of file svdglue.hxx.

Constructor & Destructor Documentation

SdrGluePointList::SdrGluePointList ( )
inline

Definition at line 121 of file svdglue.hxx.

SdrGluePointList::SdrGluePointList ( const SdrGluePointList rSrcList)
inline

Definition at line 122 of file svdglue.hxx.

Member Function Documentation

void SdrGluePointList::Clear ( )

Definition at line 280 of file svdglue.cxx.

References aList.

Referenced by operator=().

void SdrGluePointList::Delete ( sal_uInt16  nPos)
inline
sal_uInt16 SdrGluePointList::FindGluePoint ( sal_uInt16  nId) const
sal_uInt16 SdrGluePointList::GetCount ( ) const
inline
sal_uInt16 SdrGluePointList::HitTest ( const Point rPnt,
const OutputDevice rOut,
const SdrObject pObj 
) const

Definition at line 349 of file svdglue.cxx.

References aList, GetCount(), and SDRGLUEPOINT_NOTFOUND.

Referenced by SdrMarkView::PickGluePoint().

sal_uInt16 SdrGluePointList::Insert ( const SdrGluePoint rGP)
void SdrGluePointList::Invalidate ( vcl::Window rWin,
const SdrObject pObj 
) const

Definition at line 330 of file svdglue.cxx.

References aList.

Referenced by SdrPaintView::GlueInvalidate().

void SdrGluePointList::Mirror ( const Point rRef1,
const Point rRef2,
const SdrObject pObj 
)

Definition at line 375 of file svdglue.cxx.

References GetAngle().

Referenced by SdrObject::NbcMirrorGluePoints().

void SdrGluePointList::Mirror ( const Point rRef1,
const Point rRef2,
long  nAngle,
const SdrObject pObj 
)

Definition at line 382 of file svdglue.cxx.

References aList.

SdrGluePointList & SdrGluePointList::operator= ( const SdrGluePointList rSrcList)

Definition at line 285 of file svdglue.cxx.

References Clear(), GetCount(), i, and Insert().

SdrGluePoint& SdrGluePointList::operator[] ( sal_uInt16  nPos)
inline

Definition at line 134 of file svdglue.hxx.

const SdrGluePoint& SdrGluePointList::operator[] ( sal_uInt16  nPos) const
inline

Definition at line 135 of file svdglue.hxx.

void SdrGluePointList::Rotate ( const Point rRef,
long  nAngle,
double  sn,
double  cs,
const SdrObject pObj 
)

Definition at line 369 of file svdglue.cxx.

References aList.

Referenced by SdrObject::NbcRotateGluePoints().

void SdrGluePointList::SetReallyAbsolute ( bool  bOn,
const SdrObject rObj 
)

Definition at line 363 of file svdglue.cxx.

References aList.

Referenced by SdrObject::SetGlueReallyAbsolute().

void SdrGluePointList::Shear ( const Point rRef,
double  tn,
bool  bVShear,
const SdrObject pObj 
)

Definition at line 388 of file svdglue.cxx.

References aList.

Referenced by SdrObject::NbcShearGluePoints().

Member Data Documentation

std::vector<std::unique_ptr<SdrGluePoint> > SdrGluePointList::aList
private

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