D2D1_SVG_PRESERVE_ASPECT_RATIO structure (d2d1svg.h)

Represents all SVG preserveAspectRatio settings.

Syntax

typedef struct D2D1_SVG_PRESERVE_ASPECT_RATIO {
  BOOL                    defer;
  D2D1_SVG_ASPECT_ALIGN   align;
  D2D1_SVG_ASPECT_SCALING meetOrSlice;
} D2D1_SVG_PRESERVE_ASPECT_RATIO;

Members

defer

Sets the 'defer' portion of the preserveAspectRatio settings. This field only has an effect on an 'image' element that references another SVG document. As this is not currently supported, the field has no impact on rendering.

align

Sets the align portion of the preserveAspectRatio settings.

meetOrSlice

Sets the meetOrSlice portion of the preserveAspectRatio settings.

Requirements

Requirement Value
Header d2d1svg.h