Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > c00aac9511e40e4946e24ea6485133f4 > files > 171

ocaml-glmlite-devel-0.03.35-1mdv2010.0.i586.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="Png_loader.html">
<link rel="next" href="Genimg_loader.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.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="GL" rel="Chapter" href="GL.html">
<link title="Glu" rel="Chapter" href="Glu.html">
<link title="Glut" rel="Chapter" href="Glut.html">
<link title="VertArray" rel="Chapter" href="VertArray.html">
<link title="GLE" rel="Chapter" href="GLE.html">
<link title="Ftgl" rel="Chapter" href="Ftgl.html">
<link title="Jpeg_loader" rel="Chapter" href="Jpeg_loader.html">
<link title="Png_loader" rel="Chapter" href="Png_loader.html">
<link title="Svg_loader" rel="Chapter" href="Svg_loader.html">
<link title="Genimg_loader" rel="Chapter" href="Genimg_loader.html">
<link title="FunGL" rel="Chapter" href="FunGL.html">
<link title="FunGlut" rel="Chapter" href="FunGlut.html"><title>Svg_loader</title>
</head>
<body>
<div class="navbar"><a href="Png_loader.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Genimg_loader.html">Next</a>
</div>
<center><h1>Module <a href="type_Svg_loader.html">Svg_loader</a></h1></center>
<br>
<pre><span class="keyword">module</span> Svg_loader: <code class="code"><span class="keyword">sig</span></code> <a href="Svg_loader.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>An SVG image loader<br>
<hr width="100%">
<br>
This module uses the lib-rsvg to get from a SVG file a raster
  version which you can use with OpenGL.
<p>

  The size of the SVG document (in pixels) will be the size of
  the raster texture.<br>
<pre><span class="keyword">val</span> <a name="VALload_img"></a><a href="code_VALSvg_loader.load_img.html">load_img</a> : <code class="type"><a href="GL.html#TYPEimg_input">GL.img_input</a> -><br>       <a href="GL.html#TYPEimage_data">GL.image_data</a> * int * int * <a href="GL.html#TYPEtex_internal_format">GL.tex_internal_format</a> * <a href="GL.html#TYPEpixel_data_format">GL.pixel_data_format</a></code></pre><br>
The 2 additionnal integers are the <code class="code">width</code> and <code class="code">height</code><br>
</body></html>