Partager via


GID_SCROLL_DIRECTION

4/8/2010

The following macro extracts the direction from the ullArguments field of a GID_SCROLL gesture message.

Syntax

GID_SCROLL_Direction(
    Arg
)

Parameters

  • Arg
    The raw angle to be converted.

Remarks

The raw angle is given relative to the current system orientation (agnostic of whether the device is in landscape or portrait mode). When the system rotates, the gesture directions and angles adjust to match the rotation.

Requirements

Header Gesture.h

See Also

Other Resources

Gesture Reference (DTK)