Struct

ClutterUnits

Description [src]

struct ClutterUnits {
  /* No available fields */
}

An opaque structure, to be used to store sizing and positioning values along with their unit.

Available since:1.0

Functions

clutter_units_from_cm

Stores a value in centimeters inside units.

Available since: 1.2

clutter_units_from_em

Stores a value in em inside units, using the default font name as returned by clutter_backend_get_font_name()

Available since: 1.0

clutter_units_from_em_for_font

Stores a value in em inside units using font_name.

Available since: 1.0

clutter_units_from_mm

Stores a value in millimiters inside units.

Available since: 1.0

clutter_units_from_pixels

Stores a value in pixels inside units.

Available since: 1.0

clutter_units_from_pt

Stores a value in typographic points inside units.

Available since: 1.0

clutter_units_from_string

Parses a value and updates units with it.

Available since: 1.0

Instance methods

clutter_units_copy

Copies units.

Available since: 1.0

clutter_units_free

Frees the resources allocated by units.

Available since: 1.0

clutter_units_get_unit_type

Retrieves the unit type of the value stored inside units.

Available since: 1.0

clutter_units_get_unit_value

Retrieves the value stored inside units.

Available since: 1.0

clutter_units_to_pixels

Converts a value in ClutterUnits to pixels.

Available since: 1.0

clutter_units_to_string

Converts units into a string.

Available since: 1.0