MyScript Interactive Ink SDK  4.0.0
InkPoint.h
1 // Copyright @ MyScript. All rights reserved.
2 
3 #pragma once
4 
5 #include <vector>
6 #include <cstdint>
7 
8 namespace myscript {
9 namespace iink {
10 namespace graphics {
11 
15 struct InkPoint
16 {
17  float x;
18  float y;
19  int64_t t;
20  float f;
21  float tilt;
22  float orientation;
23 };
24 
29 struct InkPoints
30 {
31  std::vector<float> x;
32  std::vector<float> y;
33  std::vector<int64_t> t;
34  std::vector<float> f;
35  std::vector<float> tilt;
36  std::vector<float> orientation;
37 };
38 
39 }
40 }
41 }
Definition: Configuration.h:11
Definition: InkPoint.h:16
float tilt
Definition: InkPoint.h:21
float y
Definition: InkPoint.h:18
float x
Definition: InkPoint.h:17
float orientation
Definition: InkPoint.h:22
float f
Definition: InkPoint.h:20
int64_t t
Definition: InkPoint.h:19
Definition: InkPoint.h:30
std::vector< float > f
Definition: InkPoint.h:34
std::vector< float > x
Definition: InkPoint.h:31
std::vector< float > y
Definition: InkPoint.h:32
std::vector< int64_t > t
Definition: InkPoint.h:33
std::vector< float > orientation
Definition: InkPoint.h:36
std::vector< float > tilt
Definition: InkPoint.h:35