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

Definition at line 43 of file svdhlpln.hxx.

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

Definition at line 44 of file svdhlpln.hxx.

Member Function Documentation

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

Definition at line 30 of file svdhlpln.cxx.

References eKind, Horizontal, and Vertical.

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

Definition at line 46 of file svdhlpln.hxx.

References operator==().

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

Definition at line 45 of file svdhlpln.hxx.

References aPos, and eKind.

Referenced by operator!=().

void SdrHelpLine::SetKind ( SdrHelpLineKind  eNewKind)
inline

Definition at line 48 of file svdhlpln.hxx.

void SdrHelpLine::SetPos ( const Point rPnt)
inline

Definition at line 50 of file svdhlpln.hxx.

Referenced by SdrSnapView::EndDragHelpLine().

Member Data Documentation

Point SdrHelpLine::aPos
private

Definition at line 39 of file svdhlpln.hxx.

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

SdrHelpLineKind SdrHelpLine::eKind
private

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: