mod layout¶
Structs and Unions
Implementations
Functions
Creates a new Layout which only contains the
content-viewport.
Creates a new Layout for
content,legend, andtimebased on the passedscreen_size,contentsize, andlegend_height.contentwill be padded bycontent_padding_yin y-direction in its viewport-space (but its ViewportSource will stay the same). Will put the content on the left part of the screen (taking roughly 80%) and the legend on the right (taking roughly 20%).