Table of Contents

Enum UIScaleMode

Namespace
Icy.UI
Assembly
IcyUI.dll

Specifies how a Canvas chooses the base factor of its EffectiveScale.

public enum UIScaleMode
Extension Methods

Fields

Dpi = 1

Follows the operating system display scale reported by DisplayScale (e.g. 2.0 on a 200 % display). A host that isn't DPI-aware reports 1.0.

None = 0

No base scaling: one UI unit is one physical pixel.

ReferenceResolution = 2

Scales the UI so that a fixed reference resolution fits the viewport according to a ReferenceFit policy.

Remarks

The base factor is always multiplied by UserScale. Dpi and ReferenceResolution are alternatives and are never combined.