Bagikan melalui


enumerasi D2D1_SVG_ASPECT_ALIGN (d2d1svg.h)

Bagian penyelarasan dari atribut SVG preserveAspectRatio.

Sintaks

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
} ;

Konstanta

 
D2D1_SVG_ASPECT_ALIGN_NONE
Nilai: 0
Perataan diatur ke nilai 'tidak ada' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN
Nilai: 1
Perataan diatur ke nilai 'xMinYMin' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN
Nilai: 2
Perataan diatur ke nilai 'xMidYMin' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN
Nilai: 3
Perataan diatur ke nilai 'xMaxYMin' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID
Nilai: 4
Perataan diatur ke nilai 'xMinYMid' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID
Nilai: 5
Perataan diatur ke nilai 'xMidYMid' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID
Nilai: 6
Perataan diatur ke nilai 'xMaxYMid' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX
Nilai: 7
Perataan diatur ke nilai 'xMinYMax' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX
Nilai: 8
Perataan diatur ke nilai 'xMidYMax' SVG.
D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX
Nilai: 9
Perataan diatur ke nilai 'xMaxYMax' SVG.
D2D1_SVG_ASPECT_ALIGN_FORCE_DWORD
Nilai: 0xffffffff

Persyaratan

Persyaratan Nilai
Header d2d1svg.h