Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login

Gnome::PrintUnitBase

Instance Methods

absolute?
  • Returns: Whether self is absolute distance or not
device?
  • Returns: Whether self is device-dependent distance or not
dimensionless?
  • Returns: Whether self is dimensionless distance or not
userspace?
  • Returns: Whether self is user space distance or not
|(other)
Same as GLib::Flags#|

Constants

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

ChangeLog

  • 2005-06-09 kou: completed

- kou

Last modified:2008/04/10 11:01:32
Keyword(s):
References:[Gnome::PrintUnit] [index-ruby-gnomeprint] [Ruby/GnomePrint] [Gnome::PrintUnitBase]