|
Scroom 0.14-48-ga0fee447
|
#include <viewinterface.hh>

Public Types | |
| using | Point = Scroom::Utils::Point< double > |
Public Member Functions | |
| Selection (double x, double y) | |
| Selection (Point point) | |
| Selection (Point start_, Point end_) | |
| Selection & | operator= (const Point &p) |
| double | width () const |
| double | height () const |
| double | length () const |
Public Attributes | |
| Point | start |
| Point | end |
Structure that represents a selection made by the user.
| using Selection::Point = Scroom::Utils::Point<double> |
|
inline |
|
inline |
Referenced by MeasureHandler::displayMeasurement(), and length().

|
inline |
Referenced by MeasureHandler::displayMeasurement().


|
inline |
Referenced by MeasureHandler::displayMeasurement(), and length().

| Point Selection::end |
Referenced by MeasureHandler::displayMeasurement(), height(), operator=(), and width().
| Point Selection::start |
Referenced by MeasureHandler::displayMeasurement(), height(), operator=(), and width().