Add support for layouts in Pdf class
Allow a layout to transform a frame
Layout determines the frame width and height now