LibreOffice Module starmath (master) 1
|
A line that represents a caret. More...
#include <caret.hxx>
Public Member Functions | |
SmCaretLine (tools::Long left=0, tools::Long top=0, tools::Long height=0) | |
tools::Long | GetTop () const |
tools::Long | GetLeft () const |
tools::Long | GetHeight () const |
tools::Long | SquaredDistanceX (const SmCaretLine &line) const |
tools::Long | SquaredDistanceX (const Point &pos) const |
tools::Long | SquaredDistanceY (const SmCaretLine &line) const |
tools::Long | SquaredDistanceY (const Point &pos) const |
Private Attributes | |
tools::Long | _top |
tools::Long | _left |
tools::Long | _height |
|
inline |
|
inline |
Definition at line 71 of file caret.hxx.
References _height.
Referenced by SmCursor::Move(), and SquaredDistanceY().
|
inline |
|
inline |
Definition at line 69 of file caret.hxx.
References _top.
Referenced by SmCursor::Move(), and SquaredDistanceY().
|
inline |
|
inline |
Definition at line 72 of file caret.hxx.
References GetLeft(), and line.
Referenced by SmCursor::Move(), and SmCursor::MoveTo().
|
inline |
|
inline |
Definition at line 80 of file caret.hxx.
References d, GetHeight(), GetTop(), and line.
Referenced by SmCursor::MoveTo().
|
private |
Definition at line 104 of file caret.hxx.
Referenced by GetHeight(), and SmCaretLine().
|
private |
Definition at line 103 of file caret.hxx.
Referenced by GetLeft(), and SmCaretLine().
|
private |
Definition at line 102 of file caret.hxx.
Referenced by GetTop(), and SmCaretLine().