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_
);

Parameter

_ARG_

The angle of rotation as a double in radians.

Rückgabewert

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

Hinweise

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

Anforderungen

Mindestens unterstützter Client

Windows 7

Mindestens unterstützter Server

Windows Server 2008 R2

Header

Winuser.h (include Windows.h)

Siehe auch

Macros

 

 

Anzeigen: