SizeConstraints.getMaxSmallerValidSize

Given an input size, get a valid size that is the maximum that would fit inside a inoutWidth x inoutHeight, but smaller. Prefer validity if no smaller size is available.

struct SizeConstraints
nothrow @nogc
void
getMaxSmallerValidSize

Meta