Module Svg_types.Unit

SVG defines several units to measure time, length, angles.

type 'a quantity = float * 'a option
type angle = [ `Deg | `Grad | `Rad ] quantity
type length = [ `Em | `Ex | `Px | `In | `Cm | `Mm | `Pt | `Pc | `Percent ] quantity
type time = [ `S | `Ms ] quantity
type frequency = [ `Hz | `KHz ] quantity