Module Pdfunits

module Pdfunits: sig .. end

Units and Unit Conversion


type t = 
| PdfPoint
| Inch
| Centimetre
| Millimetre
| Pixel

The type of units

val convert : float -> t -> t -> float -> float

convert d u u' produces a convertor converting from unit u to u' with dpi d