INERTIA_PARAMETER enumeration (interactioncontext.h)

Specifies the inertia values for a manipulation (translation, rotation, scaling).

Syntax

typedef enum INERTIA_PARAMETER {
  INERTIA_PARAMETER_TRANSLATION_DECELERATION = 0x00000001,
  INERTIA_PARAMETER_TRANSLATION_DISPLACEMENT = 0x00000002,
  INERTIA_PARAMETER_ROTATION_DECELERATION = 0x00000003,
  INERTIA_PARAMETER_ROTATION_ANGLE = 0x00000004,
  INERTIA_PARAMETER_EXPANSION_DECELERATION = 0x00000005,
  INERTIA_PARAMETER_EXPANSION_EXPANSION = 0x00000006,
  INERTIA_PARAMETER_MAX = 0xffffffff
} ;

Constants

 
INERTIA_PARAMETER_TRANSLATION_DECELERATION
Value: 0x00000001
The rate of deceleration, in degrees/ms².
INERTIA_PARAMETER_TRANSLATION_DISPLACEMENT
Value: 0x00000002
The relative change in screen location, in DIPs.
INERTIA_PARAMETER_ROTATION_DECELERATION
Value: 0x00000003
The rate of deceleration, in degrees/ms².
INERTIA_PARAMETER_ROTATION_ANGLE
Value: 0x00000004
The relative change in angle of rotation, in radians.
INERTIA_PARAMETER_EXPANSION_DECELERATION
Value: 0x00000005
The rate of deceleration, in degrees/ms².
INERTIA_PARAMETER_EXPANSION_EXPANSION
Value: 0x00000006
The relative change in size, in pixels.
INERTIA_PARAMETER_MAX
Value: 0xffffffff
Maximum number of interactions exceeded.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header interactioncontext.h

See also

Interaction Context Enumerations

SetInertiaParameterInteractionContext