package camlpdf

  1. Overview
  2. Docs

Units and Unit Conversion

type t =
  1. | PdfPoint
  2. | Inch
  3. | Centimetre
  4. | 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

OCaml

Innovation. Community. Security.