util routin calcul minimum size rectangl hold extens point displai dimens rectangl dimens text size dimens min size fig minimum size allow extens point displai ep vec visibl allow separ spacer pixel width line min size height spacer loop extens point widest list compart fig text fig ep fig compart fig text fig elem width minimum size width min size width math max min size width elem width height allow row extens point row height math max rowheight min size height min size height row height math max fig size min size 