File: units.mli

package info (click to toggle)
camlpdf 0.5-1
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze, wheezy
  • size: 1,516 kB
  • ctags: 2,689
  • sloc: ml: 18,229; ansic: 139; makefile: 139
file content (9 lines) | stat: -rw-r--r-- 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
(** Units and Unit Conversion *)

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

(** [convert d u u'] produces a convertor converting from unit [u] to [u'] with
dpi [d] *)
val convert : float -> unit -> unit -> (float -> float)