Axis-aligned integer rectangle.
Represents the orientation of a display device.
static constexpr Orientation Default()
Return the default orientation (RightDown).
Touch calibration parameters (bounds + orientation).
constexpr TouchCalibration(Orientation orientation=Orientation::Default())
Uncalibrated (0..4095) bounds with optional orientation.
constexpr TouchCalibration(Box bounds, Orientation orientation=Orientation::Default())
Calibrated bounds with optional orientation.
constexpr TouchCalibration(int16_t x0, int16_t y0, int16_t x1, int16_t y1, Orientation orientation=Orientation::Default())
Calibrated bounds with optional orientation.
Orientation orientation() const
Return calibration orientation.
const Box & bounds() const
Return calibration bounds.
void Calibrate(TouchPoint &point)
Apply calibration and orientation to the given touch point.
Defines 140 opaque HTML named colors.
A single touch point returned by a touch controller.