Table of Contents

Enum SvgAspectScaling

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

The meetOrSlice portion of the SVG preserveAspectRatio attribute.
D2D1_SVG_ASPECT_SCALING

public enum SvgAspectScaling

Fields

Meet = 0

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

Slice = 1

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