<html><head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Utility" rel="Chapter" href="Utility.html"> <link title="Istring" rel="Chapter" href="Istring.html"> <link title="Io" rel="Chapter" href="Io.html"> <link title="Unzip" rel="Chapter" href="Unzip.html"> <link title="Pdfio" rel="Chapter" href="Pdfio.html"> <link title="Cgenlex" rel="Chapter" href="Cgenlex.html"> <link title="Zlib" rel="Chapter" href="Zlib.html"> <link title="Transform" rel="Chapter" href="Transform.html"> <link title="Units" rel="Chapter" href="Units.html"> <link title="Paper" rel="Chapter" href="Paper.html"> <link title="Pdf" rel="Chapter" href="Pdf.html"> <link title="Pdfcrypt" rel="Chapter" href="Pdfcrypt.html"> <link title="Pdfwrite" rel="Chapter" href="Pdfwrite.html"> <link title="Pdfcodec" rel="Chapter" href="Pdfcodec.html"> <link title="Pdfread" rel="Chapter" href="Pdfread.html"> <link title="Pdfpages" rel="Chapter" href="Pdfpages.html"> <link title="Pdfdoc" rel="Chapter" href="Pdfdoc.html"> <link title="Pdfannot" rel="Chapter" href="Pdfannot.html"> <link title="Pdffun" rel="Chapter" href="Pdffun.html"> <link title="Pdfspace" rel="Chapter" href="Pdfspace.html"> <link title="Pdfimage" rel="Chapter" href="Pdfimage.html"> <link title="Glyphlist" rel="Chapter" href="Glyphlist.html"> <link title="Pdftext" rel="Chapter" href="Pdftext.html"> <link title="Fonttables" rel="Chapter" href="Fonttables.html"> <link title="Pdfgraphics" rel="Chapter" href="Pdfgraphics.html"> <link title="Pdfshapes" rel="Chapter" href="Pdfshapes.html"> <link title="Pdfmarks" rel="Chapter" href="Pdfmarks.html"> <link title="Pdfdate" rel="Chapter" href="Pdfdate.html"> <link title="Cff" rel="Chapter" href="Cff.html"><title>Units</title> </head> <body> <code class="code"><span class="keyword">sig</span><br> <span class="keyword">type</span> unit = <span class="constructor">PdfPoint</span> <span class="keywordsign">|</span> <span class="constructor">Inch</span> <span class="keywordsign">|</span> <span class="constructor">Centimetre</span> <span class="keywordsign">|</span> <span class="constructor">Millimetre</span> <span class="keywordsign">|</span> <span class="constructor">Pixel</span><br> <span class="keyword">val</span> convert : float <span class="keywordsign">-></span> <span class="constructor">Units</span>.unit <span class="keywordsign">-></span> <span class="constructor">Units</span>.unit <span class="keywordsign">-></span> float <span class="keywordsign">-></span> float<br> <span class="keyword">end</span></code></body></html>