Module Pdfunits

module Pdfunits: sig .. end

Units and Unit Conversion


type t = 
| PdfPoint
| Inch
| Centimetre
| Millimetre

The type of units

val points : float -> t -> float

Convert a measurement to points

val inches : float -> t -> float

Convert a measurement to inches

val centimetres : float -> t -> float

Convert a measurement to centimetres

val millimetres : float -> t -> float

Convert a measurement to millimetres