Method GrowSize
GrowSize(SizeD?, SizeD)
Increazes size specified in currentSize
if it is less than size specified in minSizeAtLeast.
Width and height are increased individually.
public static SizeD GrowSize(SizeD? currentSize, SizeD minSizeAtLeast)
Parameters
currentSizeSizeD?Current size value.
minSizeAtLeastSizeDMinimal size of the result will be at least.