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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for