<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <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 rel="previous" href="Pdfgraphics.html"> <link rel="next" href="Pdfdate.html"> <link rel="Up" 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="Pdfutil" rel="Chapter" href="Pdfutil.html"> <link title="Pdfio" rel="Chapter" href="Pdfio.html"> <link title="Pdftransform" rel="Chapter" href="Pdftransform.html"> <link title="Pdfunits" rel="Chapter" href="Pdfunits.html"> <link title="Pdfpaper" rel="Chapter" href="Pdfpaper.html"> <link title="Pdf" rel="Chapter" href="Pdf.html"> <link title="Pdfcrypt" rel="Chapter" href="Pdfcrypt.html"> <link title="Pdfflate" rel="Chapter" href="Pdfflate.html"> <link title="Pdfcodec" rel="Chapter" href="Pdfcodec.html"> <link title="Pdfwrite" rel="Chapter" href="Pdfwrite.html"> <link title="Pdfgenlex" rel="Chapter" href="Pdfgenlex.html"> <link title="Pdfread" rel="Chapter" href="Pdfread.html"> <link title="Pdfjpeg" rel="Chapter" href="Pdfjpeg.html"> <link title="Pdfops" rel="Chapter" href="Pdfops.html"> <link title="Pdfdest" rel="Chapter" href="Pdfdest.html"> <link title="Pdfmarks" rel="Chapter" href="Pdfmarks.html"> <link title="Pdfpagelabels" rel="Chapter" href="Pdfpagelabels.html"> <link title="Pdfpage" rel="Chapter" href="Pdfpage.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="Pdfafm" rel="Chapter" href="Pdfafm.html"> <link title="Pdfafmdata" rel="Chapter" href="Pdfafmdata.html"> <link title="Pdfglyphlist" rel="Chapter" href="Pdfglyphlist.html"> <link title="Pdftext" rel="Chapter" href="Pdftext.html"> <link title="Pdfstandard14" rel="Chapter" href="Pdfstandard14.html"> <link title="Pdfgraphics" rel="Chapter" href="Pdfgraphics.html"> <link title="Pdfshapes" rel="Chapter" href="Pdfshapes.html"> <link title="Pdfdate" rel="Chapter" href="Pdfdate.html"> <link title="Pdfocg" rel="Chapter" href="Pdfocg.html"> <link title="Pdfcff" rel="Chapter" href="Pdfcff.html"> <link title="Pdftype1" rel="Chapter" href="Pdftype1.html"> <link title="Pdftruetype" rel="Chapter" href="Pdftruetype.html"> <link title="Pdftype0" rel="Chapter" href="Pdftype0.html"> <link title="Pdfmerge" rel="Chapter" href="Pdfmerge.html"><title>Pdfshapes</title> </head> <body> <div class="navbar"><a class="pre" href="Pdfgraphics.html" title="Pdfgraphics">Previous</a> <a class="up" href="index.html" title="Index">Up</a> <a class="post" href="Pdfdate.html" title="Pdfdate">Next</a> </div> <h1>Module <a href="type_Pdfshapes.html">Pdfshapes</a></h1> <pre><span class="keyword">module</span> Pdfshapes: <code class="code">sig</code> <a href="Pdfshapes.html">..</a> <code class="code">end</code></pre><div class="info module top"> Basic Shapes<br> </div> <hr width="100%"> <pre><span id="VALkappa"><span class="keyword">val</span> kappa</span> : <code class="type">float</code></pre><div class="info "> The factor by which the radius of a circle is multiplied to find the length of the bezier control lines when approximating quarter arcs to make circles.<br> </div> <pre><span id="VALrestrict_angle"><span class="keyword">val</span> restrict_angle</span> : <code class="type">float -> float -> float</code></pre><div class="info "> Calling <code class="code">restrict_angle s a</code> restricts an angle <code class="code">a</code> to one of those at <code class="code">s, 2s, 3s...</code> returning the chosen one.<br> </div> <pre><span id="VALcircle"><span class="keyword">val</span> circle</span> : <code class="type">float -> float -> float -> <a href="Pdfgraphics.html#TYPEpath">Pdfgraphics.path</a></code></pre><div class="info "> Calling <code class="code">circle x y r</code> builds a path representing a circle at <code class="code">(x, y)</code> with radius <code class="code">r</code>.<br> </div> <pre><span id="VALrectangle"><span class="keyword">val</span> rectangle</span> : <code class="type">float -> float -> float -> float -> <a href="Pdfgraphics.html#TYPEpath">Pdfgraphics.path</a></code></pre><div class="info "> Calling <code class="code">rectangle x y w h</code> builds a path representing a rectangle with top left <code class="code">(x, y)</code>, width <code class="code">w</code> and height <code class="code">h</code>.<br> </div> </body></html>