<!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.qt)</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.qt+en">Up</a>&nbsp;
<a href="drag/_call+en">Previous</a>&nbsp;
<a href="draw/backcolor+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Draw
 (gb.qt)</h1>
This class is used for drawing on a <a href="picture+en">Picture</a>, a <a href="window+en">Window</a>,
a <a href="printer+en">Printer</a>, a <a href="drawing+en">Drawing</a>, or a <a href="drawingarea+en">DrawingArea</a> 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><a class="none" href="draw/backcolor+en">Background</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/background+en">Background</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/clip+en">Clip</a></b>&nbsp;&nbsp; <b><i>/comp/gb.qt/draw/device</i></b>&nbsp;&nbsp; <b><a class="none" href="draw/fillcolor+en">FillColor</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/fillstyle+en">FillStyle</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/fillx+en">FillX</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/filly+en">FillY</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/font+en">Font</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/forecolor+en">ForeColor</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/foreground+en">Foreground</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/h+en">H</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/height+en">Height</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/invert+en">Invert</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/linestyle+en">LineStyle</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/linewidth+en">LineWidth</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/resolution+en">Resolution</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/transparent+en">Transparent</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/w+en">W</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/width+en">Width</a></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<b><a class="none" href="draw/begin+en">Begin</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/drawing+en">Drawing</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/ellipse+en">Ellipse</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/end+en">End</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/image+en">Image</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/line+en">Line</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/picture+en">Picture</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/point+en">Point</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/polygon+en">Polygon</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/polyline+en">Polyline</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/pop+en">Pop</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/push+en">Push</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/rect+en">Rect</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/reset+en">Reset</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/rotate+en">Rotate</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/roundrect+en">RoundRect</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/scale+en">Scale</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/text+en">Text</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/textheight+en">TextHeight</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/textwidth+en">TextWidth</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/tile+en">Tile</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/translate+en">Translate</a></b>&nbsp;&nbsp; <b><a class="none" href="draw/zoom+en">Zoom</a></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

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

