6.5 Drawable
Drawable
is a base class of Window
and Pixmap
objects. See section Window, and Pixmap.
See section Resource, for additional methods.
- Method on Drawable: get_geometry ( )
Returns
Window(’root’),
Int16(’x’),
Int16(’y’),
Card16(’width’),
Card16(’height’),
Card16(’border_width’),
- Method on Drawable: create_pixmap ( width, height, depth )
Returns Pixmap.
- Method on Drawable: create_gc ( **keys )
Returns GC.
- Method on Drawable: copy_area ( gc, src_drawable, src_x, src_y, width, height, dst_x, dst_y, onerror = None )
- Method on Drawable: copy_plane ( gc, src_drawable, src_x, src_y, width, height, dst_x, dst_y, bit_plane, onerror = None )
- Method on Drawable: poly_point ( gc, coord_mode, points, onerror = None )
request.PolyPoint(display = self.display,
onerror = onerror,
coord_mode = coord_mode,
drawable = self.id,
gc = gc,
points = points)
- Method on Drawable: point ( gc, x, y, onerror = None )
- Method on Drawable: poly_line ( gc, coord_mode, points, onerror = None )
- Method on Drawable: line ( gc, x1, y1, x2, y2, onerror = None )
- Method on Drawable: poly_segment ( gc, segments, onerror = None )
- Method on Drawable: poly_rectangle ( gc, rectangles, onerror = None )
- Method on Drawable: rectangle ( gc, x, y, width, height, onerror = None )
- Method on Drawable: poly_arc ( gc, arcs, onerror = None )
- Method on Drawable: arc ( gc, x, y, width, height, angle1, angle2, onerror = None )
- Method on Drawable: fill_poly ( gc, shape, coord_mode, points, onerror = None )
- Method on Drawable: poly_fill_rectangle ( gc, rectangles, onerror = None )
- Method on Drawable: fill_rectangle ( gc, x, y, width, height, onerror = None )
- Method on Drawable: poly_fill_arc ( gc, arcs, onerror = None )
- Method on Drawable: fill_arc ( gc, x, y, width, height, angle1, angle2, onerror = None )
- Method on Drawable: put_image ( )
Not implemented yet.
- Method on Drawable: get_image ( )
Not implemented yet.
- Method on Drawable: draw_text ( gc, x, y, text, onerror = None )
- Method on Drawable: poly_text ( gc, x, y, items, onerror = None )
- Method on Drawable: poly_text_16 ( gc, x, y, items, onerror = None )
- Method on Drawable: image_text ( gc, x, y, string, onerror = None )
- Method on Drawable: image_text_16 ( gc, x, y, string, onerror = None )
- Method on Drawable: query_best_size ( item_class, width, height )
Returns
Card16(’width’),
Card16(’height’),
This document was generated on September 16, 2020 using texi2html 5.0.