D2D1_SVG_ASPECT_SCALING enumeration

The meetOrSlice portion of the SVG preserveAspectRatio attribute.

Syntax


typedef enum D2D1_SVG_ASPECT_SCALING { 
  D2D1_SVG_ASPECT_SCALING_MEET         = 0,
  D2D1_SVG_ASPECT_SCALING_SLICE        = 1,
  D2D1_SVG_ASPECT_SCALING_FORCE_DWORD  = 0xffffffff
} D2D1_SVG_ASPECT_SCALING;

Constants

D2D1_SVG_ASPECT_SCALING_MEET

Scale the viewBox up as much as possible such that the entire viewBox is visible within the viewport.

D2D1_SVG_ASPECT_SCALING_SLICE

Scale the viewBox down as much as possible such that the entire viewport is covered by the viewBox.

D2D1_SVG_ASPECT_SCALING_FORCE_DWORD

Requirements

Header

D2d1svg.h

 

 

Show: