|
NAMEGtk2::Gdk::Drawable - wrapper for GdkDrawableHIERARCHYGlib::Object +----Gtk2::Gdk::Drawable METHODSunsigned = $drawable->XIDunsigned = $drawable->XWINDOWregion = $drawable->get_clip_regioncolormap or undef = $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_depthdisplay = $drawable->get_displaySince: 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, ...)
For example $win->draw_lines ($gc, 0,0, 20,30, 40,20); $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, ...)
For example three points $win->draw_points ($gc, 0,0, 10,10, 20,20); $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_screenSince: gtk+ 2.2(width, height) = $drawable->get_sizeregion = $drawable->get_visible_regionvisual = $drawable->get_visualunsigned = $drawable->get_xidENUMS AND FLAGSenum Gtk2::Gdk::RgbDither
SEE ALSOGtk2, Glib::ObjectCOPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Visit the GSP FreeBSD Man Page Interface. |