| Top |
FoDatatype *
fo_percentage_new (void);
Creates a new FoPercentage initialized to default value.
FoDatatype *
fo_percentage_new_with_value (gdouble value);
Creates a new FoPercentage initialized to value of value
. For
example, fo_percentage_new_with_value(100) creates a new
FoPercentage with value equal to 100%.
gdouble
fo_percentage_get_value (FoDatatype *percentage);
Get the value of percentage
.
void fo_percentage_set_value (FoDatatype *percentage,gdouble new_value);
Set the value of percentage
.
FoDatatype *
fo_percentage_get_percentage_hundred (void);
Get an FoPercentage with the well-known value of 100%.