lines-are-beautiful
0.0
A C++ file API for the reMarkable e-ink tablet
|
#include <Point.hpp>
Public Attributes | |
float | x |
float | y |
float | pressure |
float | rotX |
float | rotY |
Element of a line. A line is made up of a sequence of points sampled at a constant interval.
float rmlab::Point::pressure |
Pressure that was being applied on the screen with the pen when this point was sampled. This value is comprised between rmlab::ranges::minP and rmlab::ranges::maxP.
float rmlab::Point::rotX |
Rotation of the pen around the X axis when this point was sampled. This rotation is expressed in radians and comprised between rmlab::ranges::minRot and rmlab::ranges::maxRot.
float rmlab::Point::rotY |
Rotation of the pen around the Y axis when this point was sampled. This rotation is expressed in radians and comprised between rmlab::ranges::minRot and rmlab::ranges::maxRot.
float rmlab::Point::x |
Position on the X-axis, relative to the upper-left corner of the device’s screen. This value is expressed in pixels and is comprised between rmlab::ranges::Coords::minX and rmlab::ranges::Coords::maxX.
float rmlab::Point::y |
Position on the Y-axis, relative to the upper-left corner of the device’s screen. This value is expressed in pixels and is comprised between rmlab::ranges::Coords::minY and rmlab::ranges::Coords::maxY.