<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css">
<title>
Gambas Documentation - Draw
 (gb.gtk)</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../help+en"><img class="flag" alt="Home" border="0" src="../../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../gb.gtk+en">Up</a>&nbsp;
<a href="cursor/_new+en">Previous</a>&nbsp;
<a href="draw/begin+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Draw
 (gb.gtk)</h1>
This class is used for drawing on a <a href="picture+en">Picture</a>, a <a href="window+en">Window</a>,
a <i>/comp/gb.gtk/printer</i>, a <i>/comp/gb.gtk/drawing</i>, or a <i>/comp/gb.gtk/drawingarea</i> object.
<p>
Before starting drawing anything, you must call the <a href="draw/begin+en">Begin</a> method
by passing it the object where you want to draw.
<p>
Then you can call any of the drawing methods to draw points, lines, texts, pictures...
<p>
When your drawing is finished, you must call the <a href="draw/end+en">End</a> method.
<p>
<div class="black"><font size="-2"><b>Symbols</b></font></div>
<div class="border">
This class is static.<br>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Static&nbsp;properties</b></td><td width="32">&nbsp;</td>
<td align=left><b>Static&nbsp;methods</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<b><i>/comp/gb.gtk/draw/backcolor</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/background</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/clip</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/fillcolor</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/fillstyle</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/fillx</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/filly</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/font</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/forecolor</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/foreground</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/invert</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/linestyle</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/linewidth</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/transparent</i></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<b><a class="none" href="draw/begin+en">Begin</a></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/drawing</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/ellipse</i></b>&nbsp;&nbsp; <b><a class="none" href="draw/end+en">End</a></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/image</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/line</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/picture</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/point</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/polygon</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/polyline</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/rect</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/text</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/textheight</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/textwidth</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/tile</i></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/draw/zoom</i></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

</div>
</body>
</html>

