FoLength

FoLength

Functions

Properties

gdouble value Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── FoObject
        ╰── FoDatatype
            ╰── FoLength

Description

Functions

fo_length_new_with_value ()

FoDatatype *
fo_length_new_with_value (gdouble value);

Creates a new FoLength set to value .

Parameters

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.

Parameters

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 .

Parameters

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);


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.

Types and Values

FoLength

typedef struct _FoLength FoLength;


FoLengthClass

typedef struct _FoLengthClass FoLengthClass;

Property Details

The “value” property

  “value”                    gdouble

Length value.

Flags: Read / Write / Construct Only

Default value: 0