D2D1_ORIENTATION enumeration (d2d1_3.h)

Specifies the flip and rotation at which an image appears.

Syntax

typedef enum D2D1_ORIENTATION {
  D2D1_ORIENTATION_DEFAULT = 1,
  D2D1_ORIENTATION_FLIP_HORIZONTAL = 2,
  D2D1_ORIENTATION_ROTATE_CLOCKWISE180 = 3,
  D2D1_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL = 4,
  D2D1_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL = 5,
  D2D1_ORIENTATION_ROTATE_CLOCKWISE270 = 6,
  D2D1_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL = 7,
  D2D1_ORIENTATION_ROTATE_CLOCKWISE90 = 8,
  D2D1_ORIENTATION_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_ORIENTATION_DEFAULT
Value: 1
The orientation is unchanged.
D2D1_ORIENTATION_FLIP_HORIZONTAL
Value: 2
The image is flipped horizontally.
D2D1_ORIENTATION_ROTATE_CLOCKWISE180
Value: 3
The image is rotated clockwise 180 degrees.
D2D1_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL
Value: 4
The image is rotated clockwise 180 degrees, then flipped horizontally.
D2D1_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL
Value: 5
The image is rotated clockwise 90 degrees, then flipped horizontally.
D2D1_ORIENTATION_ROTATE_CLOCKWISE270
Value: 6
The image is rotated clockwise 270 degrees.
D2D1_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL
Value: 7
The image is rotated clockwise 270 degrees, then flipped horizontally.
D2D1_ORIENTATION_ROTATE_CLOCKWISE90
Value: 8
The image is rotated clockwise 90 degrees.
D2D1_ORIENTATION_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1_3.h