Unit
Object Hierarchy:
Description:
[
CCode ( type_id =
"gimp_unit_get_type ()" ) ]
public class Unit :
Object
Provides operations on units, a collection of predefined units and functions to create new units.
Content:
Properties:
Static methods:
- public static string format_string (string format, Unit unit)
The format string supports the following percent
expansions:
- public static unowned Unit get_by_id (int unit_id)
Returns the unique [class@Unit] object corresponding to unit_id
, which is the integer identifier as returned by [method@Unit.
- public static unowned Unit inch ()
Returns the unique object representing inch unit.
- public static unowned Unit mm ()
Returns the unique object representing millimeter unit.
- public static unowned Unit percent ()
Returns the unique object representing percent dimensions relatively
to an image.
- public static unowned Unit pica ()
Returns the unique object representing Pica unit.
- public static unowned Unit pixel ()
Returns the unique object representing pixel unit.
- public static unowned Unit point ()
Returns the unique object representing typographical point unit.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object