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

#include <svdhlpln.hxx>

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::SdrHelpLine ( SdrHelpLineKind  eNewKind = SdrHelpLineKind::Point)

Definition at line 43 of file svdhlpln.hxx.

SdrHelpLine::SdrHelpLine ( SdrHelpLineKind  eNewKind,
const Point rNewPos 

Definition at line 44 of file svdhlpln.hxx.

Member Function Documentation

tools::Rectangle SdrHelpLine::GetBoundRect ( const OutputDevice rOut) const
SdrHelpLineKind SdrHelpLine::GetKind ( ) const
PointerStyle SdrHelpLine::GetPointer ( ) const

Definition at line 27 of file svdhlpln.cxx.

References eKind, Horizontal, and Vertical.

const Point& SdrHelpLine::GetPos ( ) const
bool SdrHelpLine::IsHit ( const Point rPnt,
sal_uInt16  nTolLog,
const OutputDevice rOut 
) const
bool SdrHelpLine::operator!= ( const SdrHelpLine rCmp) const

Definition at line 46 of file svdhlpln.hxx.

References operator==().

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

Definition at line 45 of file svdhlpln.hxx.

References aPos, and eKind.

Referenced by operator!=().

void SdrHelpLine::SetKind ( SdrHelpLineKind  eNewKind)

Definition at line 48 of file svdhlpln.hxx.

void SdrHelpLine::SetPos ( const Point rPnt)

Definition at line 50 of file svdhlpln.hxx.

Referenced by SdrSnapView::EndDragHelpLine().

Member Data Documentation

Point SdrHelpLine::aPos

Definition at line 39 of file svdhlpln.hxx.

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

SdrHelpLineKind SdrHelpLine::eKind

Definition at line 40 of file svdhlpln.hxx.

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

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