Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::gdk::pixbuf::draw::cache(3pm) [debian man page]

Gtk2::Gdk::Pixbuf::Draw::Cache(3pm)			User Contributed Perl Documentation		       Gtk2::Gdk::Pixbuf::Draw::Cache(3pm)

NAME
Gtk2::Gdk::Pixbuf::Draw::Cache - Cache for drawing scaled pixbufs DESCRIPTION
Gtk2::Gdk::Pixbuf::Draw::Cache provides a cache that should be used by the Gtk2::ImageView::Tool when redrawing the Gtk2::ImageView. HIERARCHY
Glib::Boxed +----Gtk2::Gdk::Pixbuf::Draw::Cache METHODS
cache = Gtk2::Gdk::Pixbuf::Draw::Cache->new Returns a new pixbuf draw cache. $cache->draw ($opts, $drawable) o $opts (Gtk2::Gdk::Pixbuf::Draw::Opts) o $drawable (Gtk2::Gdk::Drawable) Redraws the area specified in the pixbuf draw options in an efficient way by using caching. cache : a GdkPixbufDrawCache opts : the Gtk2::Gdk::Pixbuf::Draw::Opts to use in this draw drawable : a GdkDrawable to draw on $cache->free Deallocates a pixbuf draw cache and all its data. $cache->invalidate Force the pixbuf draw cache to scale the pixbuf at the next draw. Gtk2::Gdk::Pixbuf::Draw::Cache tries to minimize the number of scale operations needed by caching the last drawn pixbuf. It would be inefficient to check the individual pixels inside the pixbuf so it assumes that if the memory address of the pixbuf has not changed, then the cache is good to use. However, when the image data is modified, this assumtion breaks, which is why this method must be used to tell draw cache about it. method = Gtk2::Gdk::Pixbuf::Draw::Cache->get_method ($old, $new) o $old (Gtk2::Gdk::Pixbuf::Draw::Opts) o $new (Gtk2::Gdk::Pixbuf::Draw::Opts) Gets the fastest method to draw the specified draw options. old is assumed to be the last PixbufDrawOpts used and new is the one to use this time. ENUMS AND FLAGS
enum Gtk2::Gdk::Pixbuf::Draw::Method o 'scale' / 'GDK_PIXBUF_DRAW_METHOD_SCALE' o 'contains' / 'GDK_PIXBUF_DRAW_METHOD_CONTAINS' o 'scroll' / 'GDK_PIXBUF_DRAW_METHOD_SCROLL' SEE ALSO
Gtk2::ImageView, Glib::Boxed COPYRIGHT
Copyright (C) 2007 by Jeffrey Ratcliffe. This software is licensed under the GPL-3; see Gtk2::ImageView for a full notice. perl v5.14.2 2011-11-16 Gtk2::Gdk::Pixbuf::Draw::Cache(3pm)

Check Out this Related Man Page

Gtk2::Assistant(3)					User Contributed Perl Documentation					Gtk2::Assistant(3)

NAME
Gtk2::Assistant HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Window +----Gtk2::Assistant INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::Assistant->new $assistant->add_action_widget ($child) o $child (Gtk2::Widget) integer = $assistant->append_page ($page) o $page (Gtk2::Widget) widget or undef = $assistant->get_apply_button widget or undef = $assistant->get_back_button widget or undef = $assistant->get_cancel_button widget or undef = $assistant->get_close_button integer = $assistant->get_current_page $assistant->set_current_page ($page_num) o $page_num (integer) widget or undef = $assistant->get_forward_button $assistant->set_forward_page_func ($func, $data=undef) o $func (scalar) o $data (scalar) integer = $assistant->insert_page ($page, $position) o $page (Gtk2::Widget) o $position (integer) widget or undef = $assistant->get_last_button integer = $assistant->get_n_pages widget = $assistant->get_nth_page ($page_num) o $page_num (integer) boolean = $assistant->get_page_complete ($page) o $page (Gtk2::Widget) $assistant->set_page_complete ($page, $complete) o $page (Gtk2::Widget) o $complete (boolean) pixbuf = $assistant->get_page_header_image ($page) o $page (Gtk2::Widget) $assistant->set_page_header_image ($page, $pixbuf) o $page (Gtk2::Widget) o $pixbuf (Gtk2::Gdk::Pixbuf) pixbuf = $assistant->get_page_side_image ($page) o $page (Gtk2::Widget) $assistant->set_page_side_image ($page, $pixbuf) o $page (Gtk2::Widget) o $pixbuf (Gtk2::Gdk::Pixbuf) string = $assistant->get_page_title ($page) o $page (Gtk2::Widget) $assistant->set_page_title ($page, $title) o $page (Gtk2::Widget) o $title (string) assistantpagetype = $assistant->get_page_type ($page) o $page (Gtk2::Widget) $assistant->set_page_type ($page, $type) o $page (Gtk2::Widget) o $type (Gtk2::AssistantPageType) integer = $assistant->prepend_page ($page) o $page (Gtk2::Widget) $assistant->remove_action_widget ($child) o $child (Gtk2::Widget) $assistant->update_buttons_state SIGNALS
close (Gtk2::Assistant) cancel (Gtk2::Assistant) prepare (Gtk2::Assistant, Gtk2::Widget) apply (Gtk2::Assistant) ENUMS AND FLAGS
enum Gtk2::AssistantPageType o 'content' / 'GTK_ASSISTANT_PAGE_CONTENT' o 'intro' / 'GTK_ASSISTANT_PAGE_INTRO' o 'confirm' / 'GTK_ASSISTANT_PAGE_CONFIRM' o 'summary' / 'GTK_ASSISTANT_PAGE_SUMMARY' o 'progress' / 'GTK_ASSISTANT_PAGE_PROGRESS' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::Assistant(3)
Man Page