D2D1_BITMAPSOURCE_ORIENTATION enumeration (d2d1effects.h)

Specifies whether a flip and/or rotation operation should be performed by the Bitmap source effect

Syntax

typedef enum D2D1_BITMAPSOURCE_ORIENTATION {
  D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT = 1,
  D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL = 2,
  D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180 = 3,
  D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL = 4,
  D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL = 5,
  D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90 = 6,
  D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL = 7,
  D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270 = 8,
  D2D1_BITMAPSOURCE_ORIENTATION_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT
Value: 1
The effect doesn't change the orientation of the input.
D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL
Value: 2
Flips the image horizontally.
D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180
Value: 3
Rotates the image clockwise 180 degrees.
D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL
Value: 4
Rotates the image clockwise 180 degrees and flips it horizontally.
D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL
Value: 5
Rotates the image clockwise 270 degrees and flips it horizontally.
D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90
Value: 6
Rotates the image clockwise 90 degrees.
D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL
Value: 7
Rotates the image clockwise 90 degrees and flips it horizontally.
D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270
Value: 8
Rotates the image clockwise 270 degrees.
D2D1_BITMAPSOURCE_ORIENTATION_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1effects.h