<!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 - Picture
 (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="panel/arrangement+en">Previous</a>&nbsp;
<a href="picture/clear+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Picture
 (gb.gtk)</h1>
This class represents a picture.
<p>
The picture contents are stored in the display server, not in the
process memory like an <a href="../gb.qt/image+en">Image</a>.
<p>
Even if the underlying toolkit does not completely manage transparency yet, each picture can have
a mask. This feature can be set explicitely at picture instanciation,
or implicitely when loading an image file that has transparency like PNG.
<p>
When drawing on a picture having a mask, the picture and the mask are
modified accordingly.
<p>
<div class="black"><font size="-2"><b>Symbols</b></font></div>
<div class="border">
This class is <a class="none" href="picture/_new+en">creatable</a>.<br>
This class acts like a <b><a class="none" href="picture/_get+en">read</a></b> / <b><a class="none" href="picture/_put+en">write</a></b> array.<br>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Static&nbsp;methods</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<b><a class="none" href="picture/flush+en">Flush</a></b>&nbsp;&nbsp; <b><i>/comp/gb.gtk/picture/fromstring</i></b>&nbsp;&nbsp; <b><a class="none" href="picture/load+en">Load</a></b>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Properties</b></td><td width="32">&nbsp;</td>
<td align=left><b>Methods</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<a class="none" href="picture/depth+en">Depth</a>&nbsp;&nbsp; <a class="none" href="picture/height+en">Height</a>&nbsp;&nbsp; <a class="none" href="picture/image+en">Image</a>&nbsp;&nbsp; <a class="none" href="picture/transparent+en">Transparent</a>&nbsp;&nbsp; <a class="none" href="picture/width+en">Width</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<a class="none" href="picture/clear+en">Clear</a>&nbsp;&nbsp; <a class="none" href="picture/copy+en">Copy</a>&nbsp;&nbsp; <a class="none" href="picture/fill+en">Fill</a>&nbsp;&nbsp; <a class="none" href="picture/resize+en">Resize</a>&nbsp;&nbsp; <a class="none" href="picture/save+en">Save</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

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

