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

#include <svdhlpln.hxx>

Collaboration diagram for SdrHelpLine:
[legend]

Public Member Functions

 SdrHelpLine (SdrHelpLineKind eNewKind=SdrHelpLineKind::Point)
 
 SdrHelpLine (SdrHelpLineKind eNewKind, const Point &rNewPos)
 
bool operator== (const SdrHelpLine &rCmp) const
 
bool operator!= (const SdrHelpLine &rCmp) const
 
void SetKind (SdrHelpLineKind eNewKind)
 
SdrHelpLineKind GetKind () const
 
void SetPos (const Point &rPnt)
 
const PointGetPos () const
 
PointerStyle GetPointer () const
 
bool IsHit (const Point &rPnt, sal_uInt16 nTolLog, const OutputDevice &rOut) const
 
tools::Rectangle GetBoundRect (const OutputDevice &rOut) const
 

Private Attributes

Point aPos
 
SdrHelpLineKind eKind
 

Detailed Description

Definition at line 38 of file svdhlpln.hxx.

Constructor & Destructor Documentation

◆ SdrHelpLine() [1/2]

SdrHelpLine::SdrHelpLine ( SdrHelpLineKind  eNewKind = SdrHelpLineKind::Point)
inlineexplicit

Definition at line 43 of file svdhlpln.hxx.

◆ SdrHelpLine() [2/2]

SdrHelpLine::SdrHelpLine ( SdrHelpLineKind  eNewKind,
const Point rNewPos 
)
inline

Definition at line 44 of file svdhlpln.hxx.

Member Function Documentation

◆ GetBoundRect()

tools::Rectangle SdrHelpLine::GetBoundRect ( const OutputDevice rOut) const

◆ GetKind()

SdrHelpLineKind SdrHelpLine::GetKind ( ) const
inline

◆ GetPointer()

PointerStyle SdrHelpLine::GetPointer ( ) const

Definition at line 27 of file svdhlpln.cxx.

References eKind, Horizontal, and Vertical.

◆ GetPos()

const Point & SdrHelpLine::GetPos ( ) const
inline

◆ IsHit()

bool SdrHelpLine::IsHit ( const Point rPnt,
sal_uInt16  nTolLog,
const OutputDevice rOut 
) const

◆ operator!=()

bool SdrHelpLine::operator!= ( const SdrHelpLine rCmp) const
inline

Definition at line 46 of file svdhlpln.hxx.

References operator==().

◆ operator==()

bool SdrHelpLine::operator== ( const SdrHelpLine rCmp) const
inline

Definition at line 45 of file svdhlpln.hxx.

References aPos, and eKind.

Referenced by operator!=().

◆ SetKind()

void SdrHelpLine::SetKind ( SdrHelpLineKind  eNewKind)
inline

Definition at line 48 of file svdhlpln.hxx.

References eKind.

◆ SetPos()

void SdrHelpLine::SetPos ( const Point rPnt)
inline

Definition at line 50 of file svdhlpln.hxx.

References aPos.

Referenced by SdrSnapView::EndDragHelpLine().

Member Data Documentation

◆ aPos

Point SdrHelpLine::aPos
private

Definition at line 39 of file svdhlpln.hxx.

Referenced by GetBoundRect(), GetPos(), IsHit(), operator==(), and SetPos().

◆ eKind

SdrHelpLineKind SdrHelpLine::eKind
private

Definition at line 40 of file svdhlpln.hxx.

Referenced by GetBoundRect(), GetKind(), GetPointer(), IsHit(), operator==(), and SetKind().


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