| xmlroff Reference Manual |
|---|
fo-length —
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);
FoDatatype* fo_length_new (void);
Creates a new FoLength initialized to default value.
| Returns : | The new FoLength. |
FoDatatype* fo_length_new_with_value (gdouble value);
Creates a new FoLength set to value.
FoDatatype* fo_length_new_from_pixels (gint count);
Creates a new FoLength set to the intrinsic length of count pixels.
gdouble fo_length_get_value (FoDatatype *length);
Get the value of length.
| length : | FoLength. |
| Returns : | Numeric value of length. |
FoDatatype* fo_length_get_length_minus_3pt (void);
Get an FoLength with the well-known value of 3pt.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_length_zero (void);
Get an FoLength with the well-known value of 0pt.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_length_3pt (void);
Get an FoLength with the well-known value of 3pt.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_length_6pt (void);
Get an FoLength with the well-known value of 6pt.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_length_12 (void);
Get an FoLength with the well-known value of 12pt.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_length_24 (void);
Get an FoLength with the well-known value of 24pt.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_width_thin (void);
Get an FoLength for the well-known width value of 'thin'.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_width_medium (void);
Get an FoLength for the well-known width value of 'medium'.
| Returns : | The FoLength. |
FoDatatype* fo_length_get_width_thick (void);
Get an FoLength for the well-known width value of 'thick'.
| Returns : | The FoLength. |
| << fo-keep | FoLengthBpIpD >> |