Gnome2::Print::Unit(3)User Contributed Perl DocumentatioGnome2::Print::Unit(3)NAMEGnome2::Print::UnitHIERARCHY
Glib::Boxed
+----Gnome2::Print::Unit
METHODS
scalar = $unit->abbr
scalar = $unit->abbr_plural
scalar = $unit->base
unit = Gnome2::Print::Unit->get_by_abbreviation ($abbreviation)
· $abbreviation (Glib::UChar)
unit = Gnome2::Print::Unit->get_by_name ($name)
· $name (Glib::UChar)
$distance = $from->convert_distance($to)
· $to (Gnome2::Print::Unit)
This function returns a double on success or undef on failure.
$distance = $from->convert_distance_full($to, $ctmscale, $devicescale)
· $to (Gnome2::Print::Unit)
· $ctmscale (double)
· $devicescale (double)
This function returns a double on success or undef on failure.
unit = Gnome2::Print::Unit->get_default
unit = Gnome2::Print::Unit->get_identity ($base)
· $base (integer)
list = $bases->get_list
This function returns a list of Gnome2::Print::Unit.
scalar = $unit->name
scalar = $unit->plural
scalar = $unit->unittobase
scalar = $unit->version
SEE ALSO
Gnome2::Print, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2006 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::Print for a full
notice.
perl v5.14.1 2011-06-21 Gnome2::Print::Unit(3)