size and rect now have the '#diagonal' method