<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="Start" href="index.html"> <link rel="previous" href="GPango.html"> <link rel="next" href="GObj.html"> <link rel="Up" href="index.html"> <title>LablGTK : GDraw</title> </head> <body> <div class="navbar"><a href="GPango.html">Previous</a> <a href="index.html">Up</a> <a href="GObj.html">Next</a> </div> <center><h1>Module <a href="type_GDraw.html">GDraw</a></h1></center> <br> <pre><span class="keyword">module</span> GDraw: <code class="code">sig</code> <a href="GDraw.html">..</a> <code class="code">end</code></pre>Offscreen drawables<br> <hr width="100%"> <br> Offscreen drawables<br> <br> <a name="3_Colors"></a> <h3>Colors</h3><br> <pre><span class="keyword">type</span> <a name="TYPEcolor"></a><code class="type"></code>color = <code class="type">[ `BLACK<br> | `COLOR of <a href="Gdk.html#TYPEcolor">Gdk.color</a><br> | `NAME of string<br> | `RGB of int * int * int<br> | `WHITE ]</code> </pre> <div class="info"> <small>GTK documentation: <a href="file:///usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html">gdk-Colormaps-and-Colors</a></small></div> <pre><span class="keyword">val</span> <a name="VALcolor"></a>color : <code class="type">?colormap:<a href="Gdk.html#TYPEcolormap">Gdk.colormap</a> -> <a href="GDraw.html#TYPEcolor">color</a> -> <a href="Gdk.html#TYPEcolor">Gdk.color</a></code></pre><pre><span class="keyword">type</span> <a name="TYPEoptcolor"></a><code class="type"></code>optcolor = <code class="type">[ `BLACK<br> | `COLOR of <a href="Gdk.html#TYPEcolor">Gdk.color</a><br> | `DEFAULT<br> | `NAME of string<br> | `RGB of int * int * int<br> | `WHITE ]</code> </pre> <pre><span class="keyword">val</span> <a name="VALoptcolor"></a>optcolor : <code class="type">?colormap:<a href="Gdk.html#TYPEcolormap">Gdk.colormap</a> -> <a href="GDraw.html#TYPEoptcolor">optcolor</a> -> <a href="Gdk.html#TYPEcolor">Gdk.color</a> option</code></pre><br> <a name="3_GdkDrawable"></a> <h3>GdkDrawable</h3><br> <pre><span class="keyword">class</span> <a name="TYPEdrawable"></a><a href="GDraw.drawable.html">drawable</a> : <code class="type">?colormap:<a href="Gdk.html#TYPEcolormap">Gdk.colormap</a> -> [> `drawable ] <a href="Gobject.html#TYPEobj">Gobject.obj</a> -> </code><code class="code">object</code> <a href="GDraw.drawable.html">..</a> <code class="code">end</code></pre><div class="info"> Functions for drawing points, lines, arcs, and text </div> <br><br> <a name="3_GdkPixmap"></a> <h3>GdkPixmap</h3><br> <pre><span class="keyword">class</span> <a name="TYPEpixmap"></a><a href="GDraw.pixmap.html">pixmap</a> : <code class="type">?colormap:<a href="Gdk.html#TYPEcolormap">Gdk.colormap</a> -> ?mask:<a href="Gdk.html#TYPEbitmap">Gdk.bitmap</a> -> <a href="Gdk.html#TYPEpixmap">Gdk.pixmap</a> -> </code><code class="code">object</code> <a href="GDraw.pixmap.html">..</a> <code class="code">end</code></pre><div class="info"> Offscreen drawables </div> <br><pre><span class="keyword">class type</span> <a name="TYPEmisc_ops"></a><a href="GDraw.misc_ops.html">misc_ops</a> = <code class="code">object</code> <a href="GDraw.misc_ops.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">val</span> <a name="VALpixmap"></a>pixmap : <code class="type">width:int -><br> height:int -><br> ?mask:bool -><br> ?window:< misc : #<a href="GDraw.misc_ops.html">misc_ops</a>; .. > -><br> ?colormap:<a href="Gdk.html#TYPEcolormap">Gdk.colormap</a> -> unit -> <a href="GDraw.pixmap.html">pixmap</a></code></pre><div class="info"> <small>GTK documentation: <a href="file:///usr/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html">gdk-Bitmaps-and-Pixmaps</a></small></div> <pre><span class="keyword">val</span> <a name="VALpixmap_from_xpm"></a>pixmap_from_xpm : <code class="type">file:string -><br> ?window:< misc : #<a href="GDraw.misc_ops.html">misc_ops</a>; .. > -><br> ?colormap:<a href="Gdk.html#TYPEcolormap">Gdk.colormap</a> -> ?transparent:<a href="GDraw.html#TYPEcolor">color</a> -> unit -> <a href="GDraw.pixmap.html">pixmap</a></code></pre><pre><span class="keyword">val</span> <a name="VALpixmap_from_xpm_d"></a>pixmap_from_xpm_d : <code class="type">data:string array -><br> ?window:< misc : #<a href="GDraw.misc_ops.html">misc_ops</a>; .. > -><br> ?colormap:<a href="Gdk.html#TYPEcolormap">Gdk.colormap</a> -> ?transparent:<a href="GDraw.html#TYPEcolor">color</a> -> unit -> <a href="GDraw.pixmap.html">pixmap</a></code></pre><br> <a name="3_GdkDragContext"></a> <h3>GdkDragContext</h3><br> <pre><span class="keyword">class</span> <a name="TYPEdrag_context"></a><a href="GDraw.drag_context.html">drag_context</a> : <code class="type"><a href="Gdk.html#TYPEdrag_context">Gdk.drag_context</a> -> </code><code class="code">object</code> <a href="GDraw.drag_context.html">..</a> <code class="code">end</code></pre><div class="info"> </div> <br></body></html>