<!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="Tmpfile.html"> <link rel="next" href="Xpm.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 class methods" rel=Appendix href="index_methods.html"> <link title="Index of classes" rel=Appendix href="index_classes.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="Bitmap" rel="Chapter" href="Bitmap.html"> <link title="Blend" rel="Chapter" href="Blend.html"> <link title="Bmp" rel="Chapter" href="Bmp.html"> <link title="Cmyk32" rel="Chapter" href="Cmyk32.html"> <link title="Color" rel="Chapter" href="Color.html"> <link title="Freetype" rel="Chapter" href="Freetype.html"> <link title="Ftlow" rel="Chapter" href="Ftlow.html"> <link title="Fttext" rel="Chapter" href="Fttext.html"> <link title="Genimage" rel="Chapter" href="Genimage.html"> <link title="Gif" rel="Chapter" href="Gif.html"> <link title="Graphic_image" rel="Chapter" href="Graphic_image.html"> <link title="Images" rel="Chapter" href="Images.html"> <link title="Index16" rel="Chapter" href="Index16.html"> <link title="Index8" rel="Chapter" href="Index8.html"> <link title="Info" rel="Chapter" href="Info.html"> <link title="Jis_unicode" rel="Chapter" href="Jis_unicode.html"> <link title="Jpeg" rel="Chapter" href="Jpeg.html"> <link title="Mstring" rel="Chapter" href="Mstring.html"> <link title="OColor" rel="Chapter" href="OColor.html"> <link title="OImage" rel="Chapter" href="OImage.html"> <link title="OImages" rel="Chapter" href="OImages.html"> <link title="OXimage2" rel="Chapter" href="OXimage2.html"> <link title="OXvthumb" rel="Chapter" href="OXvthumb.html"> <link title="Png" rel="Chapter" href="Png.html"> <link title="Ppm" rel="Chapter" href="Ppm.html"> <link title="Ps" rel="Chapter" href="Ps.html"> <link title="Reduce" rel="Chapter" href="Reduce.html"> <link title="Region" rel="Chapter" href="Region.html"> <link title="Rgb24" rel="Chapter" href="Rgb24.html"> <link title="Rgba32" rel="Chapter" href="Rgba32.html"> <link title="Tmpfile" rel="Chapter" href="Tmpfile.html"> <link title="Ximage2" rel="Chapter" href="Ximage2.html"> <link title="Xpm" rel="Chapter" href="Xpm.html"> <link title="Xvthumb" rel="Chapter" href="Xvthumb.html"><title>Ximage2</title> </head> <body> <div class="navbar"><a href="Tmpfile.html">Previous</a> <a href="index.html">Up</a> <a href="Xpm.html">Next</a> </div> <center><h1>Module <a href="type_Ximage2.html">Ximage2</a></h1></center> <br> <pre><span class="keyword">module</span> Ximage2: <code class="code">sig</code> <a href="Ximage2.html">..</a> <code class="code">end</code></pre>ximage data structure with size information<br> <hr width="100%"> <pre><span class="keyword">type</span> <a name="TYPEelt"></a><code class="type"></code>elt = <code class="type">int</code> </pre> <br> ximage data structure with size information<br> <br><code><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t = {</code><table class="typetable"> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code>width : <code class="type">int</code>;</code></td> </tr> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code>height : <code class="type">int</code>;</code></td> </tr> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code>data : <code class="type">Gdk.image</code>;</code></td> </tr></table> } <pre><span class="keyword">val</span> <a name="VALdestroy"></a>destroy : <code class="type"><a href="Ximage2.html#TYPEt">t</a> -> unit</code></pre><div class="info"> You need manual destroy<br> </div> <pre><span class="keyword">val</span> <a name="VALcreate"></a>create : <code class="type">kind:Gdk.Image.image_type -><br> visual:Gdk.visual -> width:int -> height:int -> <a href="Ximage2.html#TYPEt">t</a></code></pre><div class="info"> Same as Gdk.Image.create, but with size info<br> </div> <pre><span class="keyword">val</span> <a name="VALunsafe_get"></a>unsafe_get : <code class="type"><a href="Ximage2.html#TYPEt">t</a> -> int -> int -> <a href="Ximage2.html#TYPEelt">elt</a></code></pre><pre><span class="keyword">val</span> <a name="VALunsafe_set"></a>unsafe_set : <code class="type"><a href="Ximage2.html#TYPEt">t</a> -> int -> int -> <a href="Ximage2.html#TYPEelt">elt</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget"></a>get : <code class="type"><a href="Ximage2.html#TYPEt">t</a> -> int -> int -> <a href="Ximage2.html#TYPEelt">elt</a></code></pre><pre><span class="keyword">val</span> <a name="VALset"></a>set : <code class="type"><a href="Ximage2.html#TYPEt">t</a> -> int -> int -> <a href="Ximage2.html#TYPEelt">elt</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget_image"></a>get_image : <code class="type">[> `drawable ] Gobject.obj -><br> x:int -> y:int -> width:int -> height:int -> <a href="Ximage2.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALof_image"></a>of_image : <code class="type">Gdk.visual -> (float -> unit) option -> <a href="Images.html#TYPEt">Images.t</a> -> <a href="Ximage2.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALget_mono_gc"></a>get_mono_gc : <code class="type">Gdk.window -> Gdk.gc</code></pre><pre><span class="keyword">val</span> <a name="VALplain_mask"></a>plain_mask : <code class="type">Gdk.window -> int -> int -> Gdk.bitmap</code></pre><pre><span class="keyword">val</span> <a name="VALpixmap_of"></a>pixmap_of : <code class="type">Gdk.window -> <a href="Ximage2.html#TYPEt">t</a> -> Gdk.pixmap</code></pre><pre><span class="keyword">val</span> <a name="VALmask_of_image"></a>mask_of_image : <code class="type">Gdk.window -> <a href="Images.html#TYPEt">Images.t</a> -> Gdk.bitmap option</code></pre><pre><span class="keyword">val</span> <a name="VALpixmap_of_image"></a>pixmap_of_image : <code class="type">Gdk.window -> (float -> unit) option -> <a href="Images.html#TYPEt">Images.t</a> -> GDraw.pixmap</code></pre><pre><span class="keyword">module</span> <a href="Ximage2.Truecolor.html">Truecolor</a>: <code class="code">sig</code> <a href="Ximage2.Truecolor.html">..</a> <code class="code">end</code></pre></body></html>