![]() |
![]() |
![]() |
![]() |
const gchar * | lgl_units_get_id () |
lglUnits | lgl_units_from_id () |
const gchar * | lgl_units_get_name () |
lglUnits | lgl_units_from_name () |
gdouble | lgl_units_get_points_per_unit () |
gdouble | lgl_units_get_units_per_point () |
const gchar *
lgl_units_get_id (lglUnits units
);
Return a unique ID string for the given units. This ID is how units are encoded in libglabels XML files and will remain constant across all locales. IDs are identical to the absolute length units supported in the CSS2 Specification (Section 4.3.2).
lglUnits
lgl_units_from_id (const gchar *id
);
Return the unique lglUnits for the given ID string. This ID is how units are encoded in libglabels XML files and will remain constant across all locales. IDs are identical to the absolute length units supported in the CSS2 Specification (Section 4.3.2).
const gchar *
lgl_units_get_name (lglUnits units
);
Return a unique name string for the given units. This name is human readable and will be translated to the current locale.
lglUnits
lgl_units_from_name (const gchar *name
);
Return the unique lglUnits for the given name string. This name is human readable and is expected to be translated to the current locale.