de.softpro.signware.SPTabletVector Class Reference
Inheritance diagram for de.softpro.signware.SPTabletVector:
List of all members.
Detailed Description
This class represents a tablet vector.
- Operating Systems:
- Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
|
Public Member Functions |
int | p () |
| Get the pressure of this vector.
|
| SPTabletVector (int ix, int iy, int ip) |
| Create a new Tablet vector.
|
int | x () |
| Get the x-coordinate of this vector.
|
int | y () |
| Get the y-coordinate of this vector.
|
Constructor & Destructor Documentation
de.softpro.signware.SPTabletVector.SPTabletVector |
( |
int |
ix, |
|
|
int |
iy, |
|
|
int |
ip |
|
) |
|
|
|
Create a new Tablet vector.
- Parameters:
-
| ix | [i] the x coordinate of the vector [in tablet coordinate system, normalized to 300 DPI] |
| iy | [i] the y coordinate of the vector [in tablet coordinate system, normalized to 300 DPI] |
| ip | [i] the pressure of the vector [normalized to a range 0 .. 1023] |
- Operating Systems:
- Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
|
Member Function Documentation
int de.softpro.signware.SPTabletVector.p |
( |
|
) |
|
|
|
Get the pressure of this vector.
- Returns:
- int the pressure [normalized to a range 0 .. 1023]
- Operating Systems:
- Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
|
int de.softpro.signware.SPTabletVector.x |
( |
|
) |
|
|
|
Get the x-coordinate of this vector.
- Returns:
- int the x-coordinate [in tablet coordinate system, normalized to 300 DPI]
- Operating Systems:
- Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
|
int de.softpro.signware.SPTabletVector.y |
( |
|
) |
|
|
|
Get the y-coordinate of this vector.
- Returns:
- int the y-coordinate [in tablet coordinate system, normalized to 300 DPI]
- Operating Systems:
- Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
|
The documentation for this class was generated from the following file: