NAME
Image::Base::Gtk2::Gdk::Window -- draw into a Gdk window
SYNOPSIS
use Image::Base::Gtk2::Gdk::Window;
my $image = Image::Base::Gtk2::Gdk::Window->new (-window => $win);
$image->line (0,0, 99,99, '#FF00FF');
$image->rectangle (10,10, 20,15, 'white');
CLASS HIERARCHY
Image::Base::Gtk2::Gdk::Window is a subclass of Image::Base::Gtk2::Gdk::Drawable,
Image::Base
Image::Base::Gtk2::Gdk::Drawable
Image::Base::Gtk2::Gdk::Window
DESCRIPTION
Image::Base::Gtk2::Gdk::Window extends Image::Base to draw into Gdk windows. There's no file load or save, just drawing operations.
This is a placeholder at the moment, it doesn't add anything to what Image::Base::Gtk2::Gdk::Drawable does.
FUNCTIONS
See "FUNCTIONS" in Image::Base::Gtk2::Gdk::Drawable and "FUNCTIONS" in Image::Base for the behaviour inherited from the superclasses.
$image = Image::Base::Gtk2::Gdk::Window->new (key=>value,...)-
Create and return a new image object.
-windowmust be aGtk2::Gdk::Windowobject,$image = Image::Base::Gtk2::Gdk::Window->new (-window => $win);There's nothing to create a new
Gtk2::Gdk::Windowsince there's so many attributes when creating which seem outside the scope of thisImage::Basewrapper.
ATTRIBUTES
-width(integer)-height(integer)-
The size of the window. Changing these resizes the window.
-window(Gtk2::Gdk::Window object)-
The target window.
-drawableand-windowaccess the same attribute.
FUTURE
It might be possible for colour "None" to mean transparent so drawing it would make holes in windows per $window->shape_combine_mask. But is there a shape "Subtract"? Or how to get the current shape to modify?