Next: Gtk2::Gdk::Event | Previous: Gtk2::Gdk::DragContext | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
Gtk2::Gdk::Drawable
Glib::Object +----Gtk2::Gdk::Drawable
$image (Gtk2::Gdk::Image or undef)
$src_x (integer)
$src_y (integer)
$dest_x (integer)
$dest_y (integer)
$width (integer)
$height (integer)
Since: gtk+ 2.4
Since: gtk+ 2.2
$gc (Gtk2::Gdk::GC)
$filled (boolean)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$angle1 (integer)
$angle2 (integer)
$gc (Gtk2::Gdk::GC)
$src (Gtk2::Gdk::Drawable)
$xsrc (integer)
$ysrc (integer)
$xdest (integer)
$ydest (integer)
$width (integer)
$height (integer)
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk2::Gdk::RgbDither)
$buf (scalar)
$rowstride (integer)
$gc (Gtk2::Gdk::GC)
$image (Gtk2::Gdk::Image)
$xsrc (integer)
$ysrc (integer)
$xdest (integer)
$ydest (integer)
$width (integer)
$height (integer)
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk2::Gdk::RgbDither)
$buf (scalar)
$rowstride (integer)
$cmap (scalar)
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$line (Pango::LayoutLine)
$foreground (Gtk2::Gdk::Color)
$background (Gtk2::Gdk::Color)
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$layout (Pango::Layout)
$foreground (Gtk2::Gdk::Color)
$background (Gtk2::Gdk::Color)
$gc (Gtk2::Gdk::GC)
$x1 (integer) the x coordinate of the first point
$y1 (integer) the y coordinate of the first point
... (list) pairs of x and y coordinates
$gc (Gtk2::Gdk::GC)
$pixbuf (Gtk2::Gdk::Pixbuf)
$src_x (integer)
$src_y (integer)
$dest_x (integer)
$dest_y (integer)
$width (integer)
$height (integer)
$dither (Gtk2::Gdk::RgbDither)
$x_dither (integer)
$y_dither (integer)
Since: gtk+ 2.2
$gc (Gtk2::Gdk::GC)
$x1 (integer) the x coordinate of the first point
$y1 (integer) the y coordinate of the first point
$gc (Gtk2::Gdk::GC)
$filled (boolean)
$x1 (integer) the x coordinate of the first point
$y1 (integer) the y coordinate of the first point
... (list) pairs of x and y coordinates
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk2::Gdk::RgbDither)
$buf (scalar)
$rowstride (integer)
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk2::Gdk::RgbDither)
$rgb_buf (scalar)
$rowstride (integer)
$xdith (integer)
$ydith (integer)
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk2::Gdk::RgbDither)
$buf (scalar)
$rowstride (integer)
$gc (Gtk2::Gdk::GC)
$x (integer)
$y (integer)
$width (integer)
$height (integer)
$dith (Gtk2::Gdk::RgbDither)
$rgb_buf (scalar)
$rowstride (integer)
$xdith (integer)
$ydith (integer)
For example to draw two diagonal line segments,
$drawable->draw_segments($gc, 0,0,100,100, 200,200,300,300);
Since: gtk+ 2.2
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.