GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gtk2::Gdk::Drawable(3) User Contributed Perl Documentation Gtk2::Gdk::Drawable(3)

Gtk2::Gdk::Drawable - wrapper for GdkDrawable

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

$colormap (Gtk2::Gdk::Colormap)

  • $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)
  • $layout (Pango::Layout)

  • $gc (Gtk2::Gdk::GC)
  • $x (integer)
  • $y (integer)
  • $line (Pango::LayoutLine)

  • $gc (Gtk2::Gdk::GC)
  • $x (integer)
  • $y (integer)
  • $line (Pango::LayoutLine)
  • $foreground (Gtk2::Gdk::Color or undef)
  • $background (Gtk2::Gdk::Color or undef)

  • $gc (Gtk2::Gdk::GC)
  • $x (integer)
  • $y (integer)
  • $layout (Pango::Layout)
  • $foreground (Gtk2::Gdk::Color or undef)
  • $background (Gtk2::Gdk::Color or undef)

  • $gc (Gtk2::Gdk::GC)
  • $x1_ (integer)
  • $y1_ (integer)
  • $x2_ (integer)
  • $y2_ (integer)

  • $gc (Gtk2::Gdk::GC)
  • ... (list) integer x,y coordinates (possibly none)

For example

    $win->draw_lines ($gc, 0,0, 20,30, 40,20);

  • $gc (Gtk2::Gdk::GC or undef)
  • $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)
  • $x (integer)
  • $y (integer)

  • $gc (Gtk2::Gdk::GC)
  • ... (list) integer x,y coordinates (possibly none)

For example three points

    $win->draw_points ($gc, 0,0, 10,10, 20,20);

  • $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)
  • $filled (boolean)
  • $x (integer)
  • $y (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)
  • $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)

  • $gc (Gtk2::Gdk::GC)
  • ... (list) quads of x1,y1,x2,y2 coordinates

For example to draw two diagonal line segments,

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

  • $x (integer)
  • $y (integer)
  • $width (integer)
  • $height (integer)

Since: gtk+ 2.2

  • 'none' / 'GDK_RGB_DITHER_NONE'
  • 'normal' / 'GDK_RGB_DITHER_NORMAL'
  • 'max' / 'GDK_RGB_DITHER_MAX'

Gtk2, Glib::Object

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

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

2022-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.