ofDocsdocumentation events ofTouchEventArgs

ofTouchEventArgs

This class is integrated into the openframeworks events system. When a touch event (touchesBegan, touchesMoved) happens we record the touch information inside an object of the class. Used to send event messages. In the new openFrameworks release we can find a very illustrative example about how to use events in openFrameworks.


ofTouchEventArgs( )

ofTouchEventArgs()

ofTouchEventArgs( ... )

ofTouchEventArgs(ofTouchEventArgs::Type type, float x, float y, int id)

Variables

float angle
float height
int id
float majoraxis
float minoraxis
int numTouches
float pressure
int time
enumofTouchEventArgs::Type type
float width
float xaccel
float xspeed
float yaccel
float yspeed