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).

Structure members
type

Event type.

time

Event time.

flags

Event flags.

stage

Event source stage.

phase

The current phase of the gesture.

x

The X coordinate of the pointer, relative to the stage.

y

The Y coordinate of the pointer, relative to the stage.

dx

Movement delta of the pinch focal point in the X axis.

dy

Movement delta of the pinch focal point in the Y axis.

dx_unaccel

Unaccelerated movement delta of the pinch focal point in the X axis.

dy_unaccel

Unaccelerated movement delta of the pinch focal point in the Y axis.

angle_delta

Angle delta in degrees, clockwise rotations are represented by positive deltas.

scale

The current scale.

n_fingers No description available.
Available since:1.24