D2D1_SVG_ASPECT_SCALING enumeration (d2d1svg.h)
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
} ;
Constants
D2D1_SVG_ASPECT_SCALING_MEET Value: 0 Scale the viewBox up as much as possible such that the entire viewBox is visible within the viewport. |
D2D1_SVG_ASPECT_SCALING_SLICE Value: 1 Scale the viewBox down as much as possible such that the entire viewport is covered by the viewBox. |
D2D1_SVG_ASPECT_SCALING_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Header | d2d1svg.h |