depthof
heightof
maxof
minof
ratio
real
settototalheight
totalheightof
widthof
