#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-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015