File: pdfunits.mli

package info (click to toggle)
camlpdf 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,272 kB
  • sloc: ml: 20,816; ansic: 9,525; makefile: 100; sh: 23
file content (16 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(** Units and Unit Conversion *)

(** The type of units *)
type t = PdfPoint | Inch | Centimetre | Millimetre

(** Convert a measurement to points *)
val points : float -> t -> float

(** Convert a measurement to inches *)
val inches : float -> t -> float

(** Convert a measurement to centimetres *)
val centimetres : float -> t -> float

(** Convert a measurement to millimetres *)
val millimetres : float -> t -> float