xmlroff Reference Manual |
---|
fo-pcw —
struct FoPcw; struct FoPcwClass; FoDatatype* fo_pcw_new (void); FoDatatype* fo_pcw_new_with_value (gdouble value);gdouble fo_pcw_get_value (FoDatatype *pcw); FoDatatype* fo_pcw_get_pcw_zero (void);
FoDatatype* fo_pcw_new (void);
Creates a new FoPcw initialized to default value.
Returns : | the new FoPcw |
FoDatatype* fo_pcw_new_with_value (gdouble value);
Creates a new FoPcw set to value
gdouble fo_pcw_get_value (FoDatatype *pcw);
Get the value of pcw
pcw : | FoPcw |
Returns : | Numeric value of pcw |
FoDatatype* fo_pcw_get_pcw_zero (void);
Create and return an FoPcw with the well-known value 0.
This saves creation of multiple FoPcw objects that all have the value 0.0.
Returns : | FoPcw with value 0 |
<< FoNumeric | fo-percentage >> |