makeSizeConstraintsDiscreteXY

Build a SizeConstraints that describes several scale factors for X and Y, in logical pixels. Aspect ratio is NOT preserved.

nothrow @nogc @safe
makeSizeConstraintsDiscreteXY
(,,
const(float)[] availableRatiosX
,
const(float)[] availableRatiosY
)

Meta