Gg.Size2Sizes in 2D space.
In 2D space, width is the extent along the x-axis and height the extent along the y-axis.
type t = size2The type for 2D sizes.
dim is the dimension of sizes of type size2.
val v : float -> float -> size2v w h is a size of width w and height h.
val w : size2 -> floatw s is the width of s.
val h : size2 -> floath s is the height of s.
val zero : size2zero is the zero size, zero width and height.
val unit : size2unit is the unit size, one width and height.
val aspect : size2 -> floataspect s is w s /. h s.
val of_w : float -> aspect:float -> size2of_w w aspect is v w (w /. aspect).
val of_h : float -> aspect:float -> size2of_h h aspect is v (h *. aspect) h.