(***********************************************************************)
(*                                                                     *)
(*                             Active-DVI                              *)
(*                                                                     *)
(*                   Projet Cristal, INRIA Rocquencourt                *)
(*                                                                     *)
(*  Copyright 2002 Institut National de Recherche en Informatique et   *)
(*  en Automatique.  All rights reserved.  This file is distributed    *)
(*  under the terms of the GNU Lesser General Public License.          *)
(*                                                                     *)
(*  Jun Furuse, Didier Rémy and Pierre Weis.                           *)
(*  Contributions by Roberto Di Cosmo, Didier Le Botlan,               *)
(*  Xavier Leroy, and Alan Schmitt.                                    *)
(*                                                                     *)
(*  Based on Mldvi by Alexandre Miquel.                                *)
(***********************************************************************)

(* $Id: dimension.mli,v 1.3 2003/01/06 10:49:11 weis Exp $ *)

type dimen =
  | Px of int
  | Pt of float
  | Pc of float
  | In of float
  | Bp of float
  | Cm of float
  | Mm of float
  | Dd of float
  | Cc of float
  | Sp of int;;

val dimen_of_string : string -> dimen;;

val normalize : dimen -> dimen;;
