UI_ANIMATION_ROUNDING_MODE enumeration (uianimation.h)

Defines the rounding modes to be used when the value of an animation variable is converted from a floating-point type to an integer type.

Syntax

typedef enum __MIDL___MIDL_itf_UIAnimation_0000_0001_0001 {
  UI_ANIMATION_ROUNDING_NEAREST = 0,
  UI_ANIMATION_ROUNDING_FLOOR = 1,
  UI_ANIMATION_ROUNDING_CEILING = 2
} UI_ANIMATION_ROUNDING_MODE;

Constants

 
UI_ANIMATION_ROUNDING_NEAREST
Value: 0
Round to the nearest integer.
UI_ANIMATION_ROUNDING_FLOOR
Value: 1
Round down.
UI_ANIMATION_ROUNDING_CEILING
Value: 2
Round up.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server None supported
Header uianimation.h

See also

IUIAnimationVariable