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,
  UI_ANIMATION_ROUNDING_FLOOR,
  UI_ANIMATION_ROUNDING_CEILING
} UI_ANIMATION_ROUNDING_MODE;

Constants

 
UI_ANIMATION_ROUNDING_NEAREST
Round to the nearest integer.
UI_ANIMATION_ROUNDING_FLOOR
Round down.
UI_ANIMATION_ROUNDING_CEILING
Round up.

Requirements

   
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