## fo-length

fo-length —

## Synopsis

    struct      FoLength;
    struct      FoLengthClass;
    FoDatatype* fo_length_new                   (void);
    FoDatatype* fo_length_new_with_value        (gdouble value);
    FoDatatype* fo_length_new_from_pixels       (gint count);
    gdouble     fo_length_get_value             (FoDatatype *length);

    FoDatatype* fo_length_get_length_minus_3pt  (void);
    FoDatatype* fo_length_get_length_zero       (void);
    FoDatatype* fo_length_get_length_3pt        (void);
    FoDatatype* fo_length_get_length_6pt        (void);
    FoDatatype* fo_length_get_length_12         (void);
    FoDatatype* fo_length_get_length_24         (void);
    FoDatatype* fo_length_get_width_thin        (void);
    FoDatatype* fo_length_get_width_medium      (void);
    FoDatatype* fo_length_get_width_thick       (void);

## Object Hierarchy

      GObject
       +----FoObject
             +----FoDatatype
                   +----FoLength

## Properties

      "value"                gdouble              : Read / Write / Construct Only

## Description

## Details

### struct FoLength

    struct FoLength;

### struct FoLengthClass

    struct FoLengthClass;

### fo_length_new ()

    FoDatatype* fo_length_new                   (void);

Creates a new FoLength initialized to default value.

Returns : | The new FoLength.

### fo_length_new_with_value ()

    FoDatatype* fo_length_new_with_value        (gdouble value);

Creates a new FoLength set to `value`.

`value` : | Length of the new FoLength.
Returns : | The new FoLength.

### fo_length_new_from_pixels ()

    FoDatatype* fo_length_new_from_pixels       (gint count);

Creates a new FoLength set to the intrinsic length of `count` pixels.

`count` : | Number of pixels of the new FoLength.
Returns : | The new FoLength.

### fo_length_get_value ()

    gdouble     fo_length_get_value             (FoDatatype *length);

Get the value of `length`.

`length` : | FoLength.
Returns : | Numeric value of `length`.

### fo_length_get_length_minus_3pt ()

    FoDatatype* fo_length_get_length_minus_3pt  (void);

Get an FoLength with the well-known value of 3pt.

Returns : | The FoLength.

### fo_length_get_length_zero ()

    FoDatatype* fo_length_get_length_zero       (void);

Get an FoLength with the well-known value of 0pt.

Returns : | The FoLength.

### fo_length_get_length_3pt ()

    FoDatatype* fo_length_get_length_3pt        (void);

Get an FoLength with the well-known value of 3pt.

Returns : | The FoLength.

### fo_length_get_length_6pt ()

    FoDatatype* fo_length_get_length_6pt        (void);

Get an FoLength with the well-known value of 6pt.

Returns : | The FoLength.

### fo_length_get_length_12 ()

    FoDatatype* fo_length_get_length_12         (void);

Get an FoLength with the well-known value of 12pt.

Returns : | The FoLength.

### fo_length_get_length_24 ()

    FoDatatype* fo_length_get_length_24         (void);

Get an FoLength with the well-known value of 24pt.

Returns : | The FoLength.

### fo_length_get_width_thin ()

    FoDatatype* fo_length_get_width_thin        (void);

Get an FoLength for the well-known width value of 'thin'.

Returns : | The FoLength.

### fo_length_get_width_medium ()

    FoDatatype* fo_length_get_width_medium      (void);

Get an FoLength for the well-known width value of 'medium'.

Returns : | The FoLength.

### fo_length_get_width_thick ()

    FoDatatype* fo_length_get_width_thick       (void);

Get an FoLength for the well-known width value of 'thick'.

Returns : | The FoLength.

## Properties

"`value`" (gdouble : Read / Write / Construct Only) | Length value.