Next:
Gtk2::Gdk::Event
Previous:
Gtk2::Gdk::DragContext
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::Gdk::Drawable



NAME

Gtk2::Gdk::Drawable

HIERARCHY

  Glib::Object
  +----Gtk2::Gdk::Drawable

METHODS

unsigned = $drawable->XID

unsigned = $drawable->XWINDOW

region = $drawable->get_clip_region

colormap = $drawable->get_colormap

$drawable->set_colormap ($colormap)

image = $drawable->copy_to_image ($image, $src_x, $src_y, $dest_x, $dest_y, $width, $height)

Since: gtk+ 2.4

integer = $drawable->get_depth

display = $drawable->get_display

Since: gtk+ 2.2

$drawable->draw_arc ($gc, $filled, $x, $y, $width, $height, $angle1, $angle2)

$drawable->draw_drawable ($gc, $src, $xsrc, $ysrc, $xdest, $ydest, $width, $height)

$drawable->draw_gray_image ($gc, $x, $y, $width, $height, $dith, $buf, $rowstride)

$drawable->draw_image ($gc, $image, $xsrc, $ysrc, $xdest, $ydest, $width, $height)

$drawable->draw_indexed_image ($gc, $x, $y, $width, $height, $dith, $buf, $rowstride, $cmap)

$drawable->draw_layout ($gc, $x, $y, $layout)

$drawable->draw_layout_line ($gc, $x, $y, $line)

$drawable->draw_layout_line_with_colors ($gc, $x, $y, $line, $foreground, $background)

$drawable->draw_layout_with_colors ($gc, $x, $y, $layout, $foreground, $background)

$drawable->draw_line ($gc, $x1_, $y1_, $x2_, $y2_)

$drawable->draw_lines ($gc, $x1, $y1, ...)

$drawable->draw_pixbuf ($gc, $pixbuf, $src_x, $src_y, $dest_x, $dest_y, $width, $height, $dither, $x_dither, $y_dither)

Since: gtk+ 2.2

$drawable->draw_point ($gc, $x, $y)

$drawable->draw_points ($gc, $x1, $y1, ...)

$drawable->draw_polygon ($gc, $filled, $x1, $y1, ...)

$drawable->draw_rectangle ($gc, $filled, $x, $y, $width, $height)

$drawable->draw_rgb_32_image ($gc, $x, $y, $width, $height, $dith, $buf, $rowstride)

$drawable->draw_rgb_32_image_dithalign ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride, $xdith, $ydith)

$drawable->draw_rgb_image ($gc, $x, $y, $width, $height, $dith, $buf, $rowstride)

$drawable->draw_rgb_image_dithalign ($gc, $x, $y, $width, $height, $dith, $rgb_buf, $rowstride, $xdith, $ydith)

$drawable->draw_segments ($gc, ...)

For example to draw two diagonal line segments,

    $drawable->draw_segments($gc, 0,0,100,100, 200,200,300,300);

image = $drawable->get_image ($x, $y, $width, $height)

screen = $drawable->get_screen

Since: gtk+ 2.2

(width, height) = $drawable->get_size

region = $drawable->get_visible_region

visual = $drawable->get_visual

unsigned = $drawable->get_xid

ENUMS AND FLAGS

enum Gtk2::Gdk::RgbDither

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:01:38 2009