GID_ROTATE_ANGLE_TO_ARGUMENT macro

Converts a radian value to an argument for rotation gesture messages.

Syntax


USHORT GID_ROTATE_ANGLE_TO_ARGUMENT(
  double _ARG_
);

Parameters

_ARG_

The angle of rotation as a double in radians.

Return value

A value that can be passed in a WM_GESTURE message as the argument to GID_ROTATE messages.

Remarks

Note  The macro assumes that the input value for the radian value is between -2*pi and 2*pi.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Macros

 

 

Community Additions

ADD
Show:
© 2015 Microsoft