ruby-****@sourc*****
ruby-****@sourc*****
2005年 6月 9日 (木) 12:38:51 JST
------------------------- REMOTE_ADDR = 219.53.36.42 REMOTE_HOST = REMOTE_USER = ruby-gnome2-hiki URL = http://ruby-gnome2.sourceforge.jp/cgi-bin/hiki/hiki.cgi?Gnome%3A%3APrintUnit ------------------------- @@ -33,7 +33,7 @@ Retrieves the Gnome::PrintUnit referenced by base ((|base|)) * base: The base of the Gnome::PrintUnit to retrieve, - as a Gnome::PrintUnitBase. + as a Gnome::PrintUnit::UNIT_*. * Returns: The Gnome::PrintUnit representing ((|base|)), (({nil})) on error @@ -41,10 +41,10 @@ Gets a list of the units represented by the bases ((|bases|)). To get a list of all units then use - Gnome::PrintUnitBase::ALL. + Gnome::PrintUnit::UNIT_ALL. * bases: The bases to include in the list, as a - Gnome::PrintUnitBase. Can combine bases by using + Gnome::PrintUnit::UNIT_*. Can combine bases by using Gnome::PrintUnitBase#|. * Returns: An array of representing ((|bases|)), an empty array on error @@ -60,7 +60,7 @@ --- base - * Returns: The base of (({self})), as Gnome::PrintUnitBase + * Returns: The base of (({self})), as Gnome::PrintUnit::UNIT_* --- convert_distance(distance, to) @@ -106,6 +106,22 @@ == Constants --- PS_UNIT +--- ABSOLUTE + Real world distances - i.e. mm, cm... + +--- ALL + Represents all unit base. + This is convinient when use Gnome::PrintUnit#get_list. + +--- DEVICE + Semi-real device-dependent distances i.e. pixels + +--- DIMENSIONLESS + For percentages and like + +--- USERSPACE + Mathematical coordinates + == See Also Gnome::PrintUnitBase @@ -115,4 +131,19 @@ * 2005-06-09 ((<kou>)): completed - ((<kou>)) -