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

#include <svdhdl.hxx>

Collaboration diagram for SdrHdlList:
[legend]

Public Member Functions

 SdrHdlList (SdrMarkView *pV)
 
 ~SdrHdlList ()
 
void Clear ()
 
void TravelFocusHdl (bool bForward)
 
SdrHdlGetFocusHdl () const
 
void SetFocusHdl (SdrHdl *pNew)
 
void ResetFocusHdl ()
 
SdrMarkViewGetView () const
 
void Sort ()
 
size_t GetHdlCount () const
 
SdrHdlGetHdl (size_t nNum) const
 
size_t GetHdlNum (const SdrHdl *pHdl) const
 
void SetHdlSize (sal_uInt16 nSiz)
 
sal_uInt16 GetHdlSize () const
 
void SetMoveOutside (bool bOn)
 
bool IsMoveOutside () const
 
void SetRotateShear (bool bOn)
 
bool IsRotateShear () const
 
void SetDistortShear (bool bOn)
 
bool IsDistortShear () const
 
void AddHdl (std::unique_ptr< SdrHdl > pHdl)
 
std::unique_ptr< SdrHdlRemoveHdl (size_t nNum)
 
void RemoveAllByKind (SdrHdlKind eKind)
 
void MoveTo (SdrHdlList &rOther)
 
SdrHdlIsHdlListHit (const Point &rPnt) const
 
SdrHdlGetHdl (SdrHdlKind eKind1) const
 

Private Member Functions

SVX_DLLPRIVATE SdrHdlList (const SdrHdlList &)=delete
 
SVX_DLLPRIVATE void operator= (const SdrHdlList &)=delete
 

Private Attributes

size_t mnFocusIndex
 
SdrMarkViewpView
 
std::deque< std::unique_ptr< SdrHdl > > maList
 
sal_uInt16 nHdlSize
 
bool bRotateShear: 1
 
bool bDistortShear: 1
 
bool bMoveOutside: 1
 

Detailed Description

Definition at line 428 of file svdhdl.hxx.

Constructor & Destructor Documentation

◆ SdrHdlList() [1/2]

SVX_DLLPRIVATE SdrHdlList::SdrHdlList ( const SdrHdlList )
privatedelete

◆ SdrHdlList() [2/2]

SdrHdlList::SdrHdlList ( SdrMarkView pV)
explicit

Definition at line 2175 of file svdhdl.cxx.

References bDistortShear, bMoveOutside, bRotateShear, and nHdlSize.

◆ ~SdrHdlList()

SdrHdlList::~SdrHdlList ( )

Definition at line 2185 of file svdhdl.cxx.

References Clear().

Member Function Documentation

◆ AddHdl()

void SdrHdlList::AddHdl ( std::unique_ptr< SdrHdl pHdl)

◆ Clear()

void SdrHdlList::Clear ( )

◆ GetFocusHdl()

SdrHdl * SdrHdlList::GetFocusHdl ( ) const

◆ GetHdl() [1/2]

SdrHdl * SdrHdlList::GetHdl ( SdrHdlKind  eKind1) const

Definition at line 2313 of file svdhdl.cxx.

References GetHdl(), GetHdlCount(), SdrHdl::GetKind(), and i.

◆ GetHdl() [2/2]

SdrHdl * SdrHdlList::GetHdl ( size_t  nNum) const
inline

◆ GetHdlCount()

size_t SdrHdlList::GetHdlCount ( ) const
inline

◆ GetHdlNum()

size_t SdrHdlList::GetHdlNum ( const SdrHdl pHdl) const

Definition at line 2279 of file svdhdl.cxx.

References maList, and p.

Referenced by SdrMarkView::GetHdlNum(), and SetFocusHdl().

◆ GetHdlSize()

sal_uInt16 SdrHdlList::GetHdlSize ( ) const
inline

◆ GetView()

SdrMarkView * SdrHdlList::GetView ( ) const
inline

◆ IsDistortShear()

bool SdrHdlList::IsDistortShear ( ) const
inline

Definition at line 469 of file svdhdl.hxx.

Referenced by SdrHdl::GetPointer().

◆ IsHdlListHit()

SdrHdl * SdrHdlList::IsHdlListHit ( const Point rPnt) const

Definition at line 2298 of file svdhdl.cxx.

References GetHdl(), GetHdlCount(), SdrHdl::IsHdlHit(), and nCount.

Referenced by SdrMarkView::PickHandle().

◆ IsMoveOutside()

bool SdrHdlList::IsMoveOutside ( ) const
inline

Definition at line 465 of file svdhdl.hxx.

Referenced by SdrHdl::CreateB2dIAObject(), and SdrHdl::IsFocusHdl().

◆ IsRotateShear()

bool SdrHdlList::IsRotateShear ( ) const
inline

Definition at line 467 of file svdhdl.hxx.

Referenced by SdrHdl::CreateB2dIAObject(), and SdrHdl::GetPointer().

◆ MoveTo()

void SdrHdlList::MoveTo ( SdrHdlList rOther)

◆ operator=()

SVX_DLLPRIVATE void SdrHdlList::operator= ( const SdrHdlList )
privatedelete

References Clear().

◆ RemoveAllByKind()

void SdrHdlList::RemoveAllByKind ( SdrHdlKind  eKind)

Definition at line 2240 of file svdhdl.cxx.

References maList.

◆ RemoveHdl()

std::unique_ptr< SdrHdl > SdrHdlList::RemoveHdl ( size_t  nNum)

Definition at line 2232 of file svdhdl.cxx.

References maList.

Referenced by SdrGrafObj::AddToHdlList(), and SdrMarkView::ImpMarkPoint().

◆ ResetFocusHdl()

void SdrHdlList::ResetFocusHdl ( )

Definition at line 2162 of file svdhdl.cxx.

References GetFocusHdl(), mnFocusIndex, and SdrHdl::Touch().

◆ SetDistortShear()

void SdrHdlList::SetDistortShear ( bool  bOn)

Definition at line 2227 of file svdhdl.cxx.

References bDistortShear.

Referenced by SdrMarkView::SetMarkHandles().

◆ SetFocusHdl()

void SdrHdlList::SetFocusHdl ( SdrHdl pNew)

Definition at line 2137 of file svdhdl.cxx.

References GetFocusHdl(), GetHdlNum(), mnFocusIndex, and SdrHdl::Touch().

Referenced by SdrMarkView::SetMarkHandles().

◆ SetHdlSize()

void SdrHdlList::SetHdlSize ( sal_uInt16  nSiz)

Definition at line 2190 of file svdhdl.cxx.

References GetHdl(), GetHdlCount(), i, nHdlSize, and SdrHdl::Touch().

Referenced by SdrMarkView::SetMarkHdlSizePixel().

◆ SetMoveOutside()

void SdrHdlList::SetMoveOutside ( bool  bOn)

◆ SetRotateShear()

void SdrHdlList::SetRotateShear ( bool  bOn)

Definition at line 2222 of file svdhdl.cxx.

References bRotateShear.

Referenced by SdrMarkView::SetMarkHandles().

◆ Sort()

void SdrHdlList::Sort ( )

◆ TravelFocusHdl()

void SdrHdlList::TravelFocusHdl ( bool  bForward)

Definition at line 2002 of file svdhdl.cxx.

References a, get(), GetHdl(), GetHdlCount(), ImplSortHdlFunc(), maList, mnFocusIndex, and SdrHdl::Touch().

Member Data Documentation

◆ bDistortShear

bool SdrHdlList::bDistortShear
private

Definition at line 436 of file svdhdl.hxx.

Referenced by Clear(), SdrHdlList(), and SetDistortShear().

◆ bMoveOutside

bool SdrHdlList::bMoveOutside
private

Definition at line 437 of file svdhdl.hxx.

Referenced by SdrHdlList(), and SetMoveOutside().

◆ bRotateShear

bool SdrHdlList::bRotateShear
private

Definition at line 435 of file svdhdl.hxx.

Referenced by Clear(), SdrHdlList(), and SetRotateShear().

◆ maList

std::deque<std::unique_ptr<SdrHdl> > SdrHdlList::maList
private

Definition at line 432 of file svdhdl.hxx.

Referenced by AddHdl(), Clear(), GetHdlNum(), MoveTo(), RemoveAllByKind(), RemoveHdl(), Sort(), and TravelFocusHdl().

◆ mnFocusIndex

size_t SdrHdlList::mnFocusIndex
private

Definition at line 430 of file svdhdl.hxx.

Referenced by GetFocusHdl(), ResetFocusHdl(), SetFocusHdl(), and TravelFocusHdl().

◆ nHdlSize

sal_uInt16 SdrHdlList::nHdlSize
private

Definition at line 433 of file svdhdl.hxx.

Referenced by SdrHdlList(), and SetHdlSize().

◆ pView

SdrMarkView* SdrHdlList::pView
private

Definition at line 431 of file svdhdl.hxx.


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