Gnome2::Print::Unit.3pm

Langue: en

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gnome2::Print::Unit

HIERARCHY

   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 (C) 2003-2006 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::Print for a full notice.