UI_ANIMATION_ROUNDING_MODE enumeration

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  { 
  UI_ANIMATION_ROUNDING_NEAREST  = 0,
  UI_ANIMATION_ROUNDING_FLOOR    = 1,
  UI_ANIMATION_ROUNDING_CEILING  = 2
} 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 | Windows Store apps]

Minimum supported server

None supported [desktop apps | Windows Store apps]

Header

UIAnimation.h

IDL

UIAnimation.idl

See also

IUIAnimationVariable

 

 

Community Additions

ADD
Show:
© 2014 Microsoft