Gnome::PrintUnitBase
class Gnome::PrintUnitBase
Unit base to use Gnome::PrintUnit.
Instance Methods
absolute?
-
- Returns: Whether
self
is absolute distance or not
- Returns: Whether
device?
-
- Returns: Whether
self
is device-dependent distance or not
- Returns: Whether
dimensionless?
-
- Returns: Whether
self
is dimensionless distance or not
- Returns: Whether
userspace?
-
- Returns: Whether
self
is user space distance or not
- Returns: Whether
|(other)
-
Same as GLib::Flags#|
- Returns: a Gnome::PrintUnitBase representing OR other
Gnome::PrintUnitBase and
self
- Returns: a Gnome::PrintUnitBase representing OR other
Gnome::PrintUnitBase and
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
Keyword(s):
References:[Gnome::PrintUnit] [index-ruby-gnomeprint] [Ruby/GnomePrint] [Gnome::PrintUnitBase]