Mir
|
Interface to the region of valid input coordinates. More...
#include <input_region.h>
Public Member Functions | |
virtual | ~InputRegion ()=default |
virtual geometry::Rectangle | bounding_rectangle ()=0 |
The bounding rectangle of the input region. More... | |
virtual void | confine (geometry::Point &point)=0 |
Confines a point to the input region. More... | |
Protected Member Functions | |
InputRegion ()=default | |
InputRegion (InputRegion const &)=delete | |
InputRegion & | operator= (InputRegion const &)=delete |
Interface to the region of valid input coordinates.
|
virtualdefault |
|
protecteddefault |
|
protecteddelete |
|
pure virtual |
The bounding rectangle of the input region.
Implemented in mir::input::DisplayInputRegion.
|
pure virtual |
Confines a point to the input region.
If the point is within input region it remains unchanged, otherwise it is replaced by the region point that is closest to it.
[in,out] | point | the point to confine |
Implemented in mir::input::DisplayInputRegion.
|
protecteddelete |
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014