Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 0be7620be6a1578fbd49765844864a01 > files > 79

ocaml-lablgtk2-doc-2.14.0-2mdv2010.0.i586.rpm

<!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="next" href="GDraw.pixmap.html">
<link rel="Up" href="GDraw.html">
<title>LablGTK : GDraw.drawable</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="GDraw.html">Up</a>
&nbsp;<a href="GDraw.pixmap.html">Next</a>
</div>
<center><h1>Class <a href="type_GDraw.drawable.html">GDraw.drawable</a></h1></center>
<br>
<pre><span class="keyword">class</span> <a name="TYPEdrawable"></a>drawable : <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>Functions for drawing points, lines, arcs, and text<br>
<small>GTK documentation:&nbsp;<a href="file:///usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html">gdk-Drawing-Primitives</a></small><br><hr width="100%">
<pre><span class="keyword">val</span> <a name="ATTgc"></a><span class="keyword">mutable</span> gc : <code class="type"><a href="Gdk.html#TYPEgc">Gdk.gc</a></code></pre><pre><span class="keyword">val</span> <a name="ATTw"></a>w : <code class="type">([> `drawable ] as 'a) <a href="Gobject.html#TYPEobj">Gobject.obj</a></code></pre><pre><span class="keyword">method</span> <a name="METHODarc"></a>arc : <code class="type">x:int -><br>       y:int -><br>       width:int -><br>       height:int -> ?filled:bool -> ?start:float -> ?angle:float -> unit -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODcolor"></a>color : <code class="type"><a href="GDraw.html#TYPEcolor">color</a> -> <a href="Gdk.html#TYPEcolor">Gdk.color</a></code></pre><pre><span class="keyword">method</span> <a name="METHODcolormap"></a>colormap : <code class="type"><a href="Gdk.html#TYPEcolormap">Gdk.colormap</a></code></pre><pre><span class="keyword">method</span> <a name="METHODdepth"></a>depth : <code class="type">int</code></pre><pre><span class="keyword">method</span> <a name="METHODgc"></a>gc : <code class="type"><a href="Gdk.html#TYPEgc">Gdk.gc</a></code></pre><pre><span class="keyword">method</span> <a name="METHODset_gc"></a>set_gc : <code class="type"><a href="Gdk.html#TYPEgc">Gdk.gc</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODgc_values"></a>gc_values : <code class="type"><a href="Gdk.GC.html#TYPEvalues">Gdk.GC.values</a></code></pre><pre><span class="keyword">method</span> <a name="METHODline"></a>line : <code class="type">x:int -> y:int -> x:int -> y:int -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODpoint"></a>point : <code class="type">x:int -> y:int -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODpolygon"></a>polygon : <code class="type">?filled:bool -> (int * int) list -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODput_layout"></a>put_layout : <code class="type">x:int -><br>       y:int -> ?fore:<a href="GDraw.html#TYPEcolor">color</a> -> ?back:<a href="GDraw.html#TYPEcolor">color</a> -> <a href="Pango.html#TYPElayout">Pango.layout</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODput_image"></a>put_image : <code class="type">x:int -><br>       y:int -><br>       ?xsrc:int -> ?ysrc:int -> ?width:int -> ?height:int -> <a href="Gdk.html#TYPEimage">Gdk.image</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODput_pixmap"></a>put_pixmap : <code class="type">x:int -><br>       y:int -><br>       ?xsrc:int -> ?ysrc:int -> ?width:int -> ?height:int -> <a href="Gdk.html#TYPEpixmap">Gdk.pixmap</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODput_rgb_data"></a>put_rgb_data : <code class="type">width:int -><br>       height:int -><br>       ?x:int -><br>       ?y:int -><br>       ?dither:<a href="Gdk.Tags.html#TYPErgb_dither">Gdk.Tags.rgb_dither</a> -> ?row_stride:int -> <a href="Gpointer.html#TYPEregion">Gpointer.region</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODput_pixbuf"></a>put_pixbuf : <code class="type">x:int -><br>       y:int -><br>       ?width:int -><br>       ?height:int -><br>       ?dither:<a href="Gdk.Tags.html#TYPErgb_dither">Gdk.Tags.rgb_dither</a> -><br>       ?x_dither:int -><br>       ?y_dither:int -> ?src_x:int -> ?src_y:int -> <a href="GdkPixbuf.html#TYPEpixbuf">GdkPixbuf.pixbuf</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODrectangle"></a>rectangle : <code class="type">x:int -> y:int -> width:int -> height:int -> ?filled:bool -> unit -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODset_background"></a>set_background : <code class="type"><a href="GDraw.html#TYPEcolor">color</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODset_foreground"></a>set_foreground : <code class="type"><a href="GDraw.html#TYPEcolor">color</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODset_clip_region"></a>set_clip_region : <code class="type"><a href="Gdk.html#TYPEregion">Gdk.region</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODset_clip_origin"></a>set_clip_origin : <code class="type">x:int -> y:int -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODset_clip_mask"></a>set_clip_mask : <code class="type"><a href="Gdk.html#TYPEbitmap">Gdk.bitmap</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODset_clip_rectangle"></a>set_clip_rectangle : <code class="type"><a href="Gdk.Rectangle.html#TYPEt">Gdk.Rectangle.t</a> -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODset_line_attributes"></a>set_line_attributes : <code class="type">?width:int -><br>       ?style:<a href="Gdk.GC.html#TYPEgdkLineStyle">Gdk.GC.gdkLineStyle</a> -><br>       ?cap:<a href="Gdk.GC.html#TYPEgdkCapStyle">Gdk.GC.gdkCapStyle</a> -> ?join:<a href="Gdk.GC.html#TYPEgdkJoinStyle">Gdk.GC.gdkJoinStyle</a> -> unit -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODsize"></a>size : <code class="type">int * int</code></pre><pre><span class="keyword">method</span> <a name="METHODstring"></a>string : <code class="type">string -> font:<a href="Gdk.html#TYPEfont">Gdk.font</a> -> x:int -> y:int -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODpoints"></a>points : <code class="type">(int * int) list -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODlines"></a>lines : <code class="type">(int * int) list -> unit</code></pre><pre><span class="keyword">method</span> <a name="METHODsegments"></a>segments : <code class="type">((int * int) * (int * int)) list -> unit</code></pre></body></html>