1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Type to represent units of distance supported by libglabels
7 <!-- ##### SECTION Long_Description ##### -->
9 This section defines a type to represent the various units of distance
10 supported by libglabels. It also defines a set of related functions.
14 <!-- ##### SECTION See_Also ##### -->
19 <!-- ##### SECTION Stability_Level ##### -->
22 <!-- ##### SECTION Image ##### -->
25 <!-- ##### ENUM lglUnits ##### -->
27 This enumeration defines supported units of distance.
30 @LGL_UNITS_POINT: Points.
31 @LGL_UNITS_INCH: Inches.
32 @LGL_UNITS_MM: Millimeters
33 @LGL_UNITS_CM: Centimeters
34 @LGL_UNITS_PICA: Picas
35 @LGL_UNITS_FIRST: First supported unit. (Used for bounds checking and iteration through supported units.)
36 @LGL_UNITS_LAST: Last supported unit. (Used for bounds checking and iteration through supported units.)
37 @LGL_UNITS_INVALID: Invalid unit. (Returned by libglabels units functions when a supported unit cannot be determined.)
39 <!-- ##### FUNCTION lgl_units_get_id ##### -->
48 <!-- ##### FUNCTION lgl_units_from_id ##### -->
57 <!-- ##### FUNCTION lgl_units_get_name ##### -->
66 <!-- ##### FUNCTION lgl_units_from_name ##### -->
75 <!-- ##### FUNCTION lgl_units_get_points_per_unit ##### -->
84 <!-- ##### FUNCTION lgl_units_get_units_per_point ##### -->