lines-are-beautiful
0.0
A C++ file API for the reMarkable e-ink tablet
|
#include <cmath>
Go to the source code of this file.
Classes | |
struct | rmlab::Point |
Enumerations | |
enum | rmlab::ranges::Coords { rmlab::ranges::minX = 0u, rmlab::ranges::maxX = 1404u, rmlab::ranges::minY = 0u, rmlab::ranges::maxY = 1872u } |
Functions | |
Point | rmlab::make_point (float x, float y, float pressure, float rotX, float rotY) |
Variables | |
constexpr float | rmlab::ranges::minP = 0.0 |
constexpr float | rmlab::ranges::maxP = 1.0 |
constexpr float | rmlab::ranges::minRot = -M_PI / 2.0 |
constexpr float | rmlab::ranges::maxRot = M_PI / 2.0 |
Definition of points and of the magic numbers that encode their attributes.
Rectangle in which the points are located.
constexpr float rmlab::ranges::maxP = 1.0 |
Maximum pressure value.
constexpr float rmlab::ranges::maxRot = M_PI / 2.0 |
Maximum rotation value of the pen, in radians.
constexpr float rmlab::ranges::minP = 0.0 |
Minimum pressure value.
constexpr float rmlab::ranges::minRot = -M_PI / 2.0 |
Minimum rotation value of the pen, in radians.