#include <display_input_region.h>
mir::input::DisplayInputRegion::DisplayInputRegion |
( |
std::shared_ptr< graphics::Display > const & |
display) | |
|
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.
- Parameters
-
[in,out] | point | the point to confine |
Implements mir::input::InputRegion.
The documentation for this class was generated from the following files:
Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013