Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > a94aa4b565ade94d0310c6e77aeea765 > files > 79

ocaml-camlpdf-devel-1.7.1-3.mga5.x86_64.rpm

<!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="Pdffun.html">
<link rel="next" href="Pdfimage.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>Pdfspace</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Pdffun.html" title="Pdffun">Previous</a>
&nbsp;<a class="up" href="index.html" title="Index">Up</a>
&nbsp;<a class="post" href="Pdfimage.html" title="Pdfimage">Next</a>
</div>
<h1>Module <a href="type_Pdfspace.html">Pdfspace</a></h1>

<pre><span class="keyword">module</span> Pdfspace: <code class="code">sig</code> <a href="Pdfspace.html">..</a> <code class="code">end</code></pre><div class="info module top">
Colour Spaces<br>
</div>
<hr width="100%">

<pre><span id="TYPEpoint"><span class="keyword">type</span> <code class="type"></code>point</span> = <code class="type">float * float * float</code> </pre>
<div class="info ">
A Tristimulus Point<br>
</div>


<pre><code><span id="TYPEiccbased"><span class="keyword">type</span> <code class="type"></code>iccbased</span> = {</code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTiccbased.icc_n">icc_n</span>&nbsp;: <code class="type">int</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTiccbased.icc_alternate">icc_alternate</span>&nbsp;: <code class="type"><a href="Pdfspace.html#TYPEt">t</a></code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTiccbased.icc_range">icc_range</span>&nbsp;: <code class="type">float array</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTiccbased.icc_metadata">icc_metadata</span>&nbsp;: <code class="type"><a href="Pdf.html#TYPEpdfobject">Pdf.pdfobject</a> option</code>;</code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code>&nbsp;&nbsp;</code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTiccbased.icc_stream">icc_stream</span>&nbsp;: <code class="type"><a href="Pdf.html#TYPEpdfobject">Pdf.pdfobject</a></code>;</code></td>

</tr></table>
}

<div class="info ">
ICC Based Colour Spaces<br>
</div>


<pre><code><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> = </code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.DeviceGray"><span class="constructor">DeviceGray</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.DeviceRGB"><span class="constructor">DeviceRGB</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.DeviceCMYK"><span class="constructor">DeviceCMYK</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.CalGray"><span class="constructor">CalGray</span></span> <span class="keyword">of</span> <code class="type"><a href="Pdfspace.html#TYPEpoint">point</a> * <a href="Pdfspace.html#TYPEpoint">point</a> * float</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.CalRGB"><span class="constructor">CalRGB</span></span> <span class="keyword">of</span> <code class="type"><a href="Pdfspace.html#TYPEpoint">point</a> * <a href="Pdfspace.html#TYPEpoint">point</a> * float array * float array</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.Lab"><span class="constructor">Lab</span></span> <span class="keyword">of</span> <code class="type"><a href="Pdfspace.html#TYPEpoint">point</a> * <a href="Pdfspace.html#TYPEpoint">point</a> * float array</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.ICCBased"><span class="constructor">ICCBased</span></span> <span class="keyword">of</span> <code class="type"><a href="Pdfspace.html#TYPEiccbased">iccbased</a></code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.Indexed"><span class="constructor">Indexed</span></span> <span class="keyword">of</span> <code class="type"><a href="Pdfspace.html#TYPEt">t</a> * (int, int list) Hashtbl.t</code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.Pattern"><span class="constructor">Pattern</span></span></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.PatternWithBaseColourspace"><span class="constructor">PatternWithBaseColourspace</span></span> <span class="keyword">of</span> <code class="type"><a href="Pdfspace.html#TYPEt">t</a></code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.Separation"><span class="constructor">Separation</span></span> <span class="keyword">of</span> <code class="type">string * <a href="Pdfspace.html#TYPEt">t</a> * <a href="Pdffun.html#TYPEt">Pdffun.t</a></code></code></td>

</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTt.DeviceN"><span class="constructor">DeviceN</span></span> <span class="keyword">of</span> <code class="type">string array * <a href="Pdfspace.html#TYPEt">t</a> * <a href="Pdffun.html#TYPEt">Pdffun.t</a> * <a href="Pdf.html#TYPEpdfobject">Pdf.pdfobject</a></code></code></td>

</tr></table>

<div class="info ">
Colour spaces<br>
</div>


<pre><span id="VALstring_of_colourspace"><span class="keyword">val</span> string_of_colourspace</span> : <code class="type"><a href="Pdfspace.html#TYPEt">t</a> -> string</code></pre><div class="info ">
Produce a debug string<br>
</div>

<pre><span id="VALname_of_colourspace"><span class="keyword">val</span> name_of_colourspace</span> : <code class="type"><a href="Pdfspace.html#TYPEt">t</a> -> string option</code></pre><div class="info ">
Read the name of a colour, if it has one.<br>
</div>

<pre><span id="VALread_colourspace"><span class="keyword">val</span> read_colourspace</span> : <code class="type"><a href="Pdf.html#TYPEt">Pdf.t</a> -> <a href="Pdf.html#TYPEpdfobject">Pdf.pdfobject</a> -> <a href="Pdf.html#TYPEpdfobject">Pdf.pdfobject</a> -> <a href="Pdfspace.html#TYPEt">t</a></code></pre><div class="info ">
Read a colourspace from a PDF given a document, page resources dictionary and the colourspace object<br>
</div>

<pre><span id="VALwrite_colourspace"><span class="keyword">val</span> write_colourspace</span> : <code class="type"><a href="Pdf.html#TYPEt">Pdf.t</a> -> <a href="Pdfspace.html#TYPEt">t</a> -> <a href="Pdf.html#TYPEpdfobject">Pdf.pdfobject</a></code></pre><div class="info ">
Write a colourspace to a PDF, returning it.<br>
</div>
</body></html>