Struct
ClutterTouchpadPinchEvent
Description [src]
struct ClutterTouchpadPinchEvent {
ClutterEventType type;
guint32 time;
ClutterEventFlags flags;
ClutterStage* stage;
ClutterTouchpadGesturePhase phase;
gfloat x;
gfloat y;
gfloat dx;
gfloat dy;
gfloat dx_unaccel;
gfloat dy_unaccel;
gfloat angle_delta;
gfloat scale;
guint n_fingers;
}
Used for touchpad pinch gesture events.
The current state of the gesture will be determined by the phase field.
Each event with phase CLUTTER_TOUCHPAD_GESTURE_PHASE_BEGIN
will report a scale of 1.0, all later phases in the gesture
report the current scale relative to the initial 1.0 value
(eg. 0.5 being half the size, 2.0 twice as big).4
Structure members
typeEvent type.
timeEvent time.
flagsEvent flags.
stageEvent source stage.
phaseThe current phase of the gesture.
xThe X coordinate of the pointer, relative to the stage.
yThe Y coordinate of the pointer, relative to the stage.
dxMovement delta of the pinch focal point in the X axis.
dyMovement delta of the pinch focal point in the Y axis.
dx_unaccelUnaccelerated movement delta of the pinch focal point in the X axis.
dy_unaccelUnaccelerated movement delta of the pinch focal point in the Y axis.
angle_deltaAngle delta in degrees, clockwise rotations are represented by positive deltas.
scaleThe current scale.
n_fingers- No description available.