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)
 
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, Degree100 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, Degree100 nAngle, const SdrObject *pObj)
 
void Shear (const Point &rRef, double tn, bool bVShear, const SdrObject *pObj)
 

Private Attributes

std::vector< SdrGluePointaList
 

Detailed Description

Definition at line 183 of file svdglue.hxx.

Constructor & Destructor Documentation

◆ SdrGluePointList() [1/2]

SdrGluePointList::SdrGluePointList ( )
inline

Definition at line 187 of file svdglue.hxx.

◆ SdrGluePointList() [2/2]

SdrGluePointList::SdrGluePointList ( const SdrGluePointList rSrcList)
inline

Definition at line 188 of file svdglue.hxx.

Member Function Documentation

◆ Delete()

void SdrGluePointList::Delete ( sal_uInt16  nPos)
inline

Definition at line 201 of file svdglue.hxx.

References nPos.

Referenced by SdrGlueEditView::DeleteMarkedGluePoints().

◆ FindGluePoint()

sal_uInt16 SdrGluePointList::FindGluePoint ( sal_uInt16  nId) const

◆ GetCount()

sal_uInt16 SdrGluePointList::GetCount ( ) const
inline

◆ HitTest()

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(), nCount, and SDRGLUEPOINT_NOTFOUND.

Referenced by SdrMarkView::PickGluePoint().

◆ Insert()

sal_uInt16 SdrGluePointList::Insert ( const SdrGluePoint rGP)

◆ Invalidate()

void SdrGluePointList::Invalidate ( vcl::Window rWin,
const SdrObject pObj 
) const

Definition at line 328 of file svdglue.cxx.

References aList, and comphelper::LibreOfficeKit::isActive().

Referenced by SdrPaintView::GlueInvalidate().

◆ Mirror() [1/2]

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

Definition at line 375 of file svdglue.cxx.

References GetAngle(), and Mirror().

Referenced by Mirror(), and SdrObject::NbcMirrorGluePoints().

◆ Mirror() [2/2]

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

Definition at line 382 of file svdglue.cxx.

References aList.

◆ operator=()

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

Definition at line 283 of file svdglue.cxx.

References aList, GetCount(), i, Insert(), and nCount.

◆ operator[]() [1/2]

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

Definition at line 205 of file svdglue.hxx.

References nPos.

◆ operator[]() [2/2]

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

Definition at line 209 of file svdglue.hxx.

References nPos.

◆ Rotate()

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

Definition at line 369 of file svdglue.cxx.

References aList.

Referenced by SdrObject::NbcRotateGluePoints().

◆ SetReallyAbsolute()

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

Definition at line 363 of file svdglue.cxx.

References aList.

Referenced by SdrObject::SetGlueReallyAbsolute().

◆ Shear()

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

◆ aList

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

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