Method

PhocGestureget_point

Declaration [src]

gboolean
phoc_gesture_get_point (
  PhocGesture* self,
  PhocEventSequence* sequence,
  double* lx,
  double* ly
)

Description [src]

If sequence is currently being interpreted by gesture, returns TRUE and fills in x and y with the last coordinates stored for that event sequence.

The coordinates are always layout coordinates.

Parameters

sequence

Type: PhocEventSequence

A PhocEventSequence, or NULL for pointer events.

The argument can be NULL.
The data is owned by the caller of the method.
lx

Type: double*

Return location for X axis of the sequence coordinates.

The argument will be set by the function.
The argument can be NULL.
ly

Type: double*

Return location for Y axis of the sequence coordinates.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: gboolean

TRUE if sequence is currently interpreted.