## FoLength

FoLength

## Synopsis

                        FoLength;
                        FoLengthClass;
    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_24pt           (void);
    FoDatatype*         fo_length_get_length_A4_height      (void);
    FoDatatype*         fo_length_get_length_A4_width       (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

### FoLength

    typedef struct _FoLength FoLength;

### FoLengthClass

    typedef struct _FoLengthClass FoLengthClass;

### 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_24pt ()

    FoDatatype*         fo_length_get_length_24pt           (void);

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

Returns : | The FoLength.

### fo_length_get_length_A4_height ()

    FoDatatype*         fo_length_get_length_A4_height      (void);

Returns : |

### fo_length_get_length_A4_width ()

    FoDatatype*         fo_length_get_length_A4_width       (void);

Get an FoLength with the well-known value of the width of an A4 page.

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.

## Property Details

### The `"value"` property

      "value"                    gdouble               : Read / Write / Construct Only

Length value.

Default value: 0