lines-are-beautiful  0.0
A C++ file API for the reMarkable e-ink tablet
Public Attributes | List of all members
rmlab::Point Struct Reference

#include <Point.hpp>

Public Attributes

float x
 
float y
 
float pressure
 
float rotX
 
float rotY
 

Detailed Description

Element of a line. A line is made up of a sequence of points sampled at a constant interval.

Member Data Documentation

◆ pressure

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.

◆ rotX

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.

◆ rotY

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.

◆ x

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.

◆ y

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.


The documentation for this struct was generated from the following file: