D2D1_SVG_ASPECT_ALIGN enumeration (d2d1svg.h)

The alignment portion of the SVG preserveAspectRatio attribute.

Syntax

typedef enum D2D1_SVG_ASPECT_ALIGN {
  D2D1_SVG_ASPECT_ALIGN_NONE = 0,
  D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN = 1,
  D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN = 2,
  D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN = 3,
  D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID = 4,
  D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID = 5,
  D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID = 6,
  D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX = 7,
  D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX = 8,
  D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX = 9,
  D2D1_SVG_ASPECT_ALIGN_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_SVG_ASPECT_ALIGN_NONE
Value: 0
The alignment is set to SVG's 'none' value.
D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN
Value: 1
The alignment is set to SVG's 'xMinYMin' value.
D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN
Value: 2
The alignment is set to SVG's 'xMidYMin' value.
D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN
Value: 3
The alignment is set to SVG's 'xMaxYMin' value.
D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID
Value: 4
The alignment is set to SVG's 'xMinYMid' value.
D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID
Value: 5
The alignment is set to SVG's 'xMidYMid' value.
D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID
Value: 6
The alignment is set to SVG's 'xMaxYMid' value.
D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX
Value: 7
The alignment is set to SVG's 'xMinYMax' value.
D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX
Value: 8
The alignment is set to SVG's 'xMidYMax' value.
D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX
Value: 9
The alignment is set to SVG's 'xMaxYMax' value.
D2D1_SVG_ASPECT_ALIGN_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1svg.h