xmlroff Reference Manual |
---|
fo-color —
struct FoColor; struct FoColorClass; FoDatatype* fo_color_new (void); #define FO_COLOR_COMPONENT_MAX void fo_color_set_red (FoDatatype *color,guint16 new_red);guint16 fo_color_get_red (FoDatatype *color); void fo_color_set_green (FoDatatype *color,guint16 new_green);guint16 fo_color_get_green (FoDatatype *color); void fo_color_set_blue (FoDatatype *color,guint16 new_blue);guint16 fo_color_get_blue (FoDatatype *color); FoDatatype* fo_color_get_color_black (void); FoDatatype* fo_color_get_color_silver (void); FoDatatype* fo_color_get_color_gray (void); FoDatatype* fo_color_get_color_white (void); FoDatatype* fo_color_get_color_maroon (void); FoDatatype* fo_color_get_color_red (void); FoDatatype* fo_color_get_color_purple (void); FoDatatype* fo_color_get_color_fuchsia (void); FoDatatype* fo_color_get_color_green (void); FoDatatype* fo_color_get_color_lime (void); FoDatatype* fo_color_get_color_olive (void); FoDatatype* fo_color_get_color_yellow (void); FoDatatype* fo_color_get_color_navy (void); FoDatatype* fo_color_get_color_blue (void); FoDatatype* fo_color_get_color_teal (void); FoDatatype* fo_color_get_color_aqua (void); FoDatatype* fo_color_get_color_one_quarter (FoDatatype *color); FoDatatype* fo_color_get_color_one_half (FoDatatype *color); FoDatatype* fo_color_get_color_three_quarter (FoDatatype *color);
FoDatatype* fo_color_new (void);
Creates a new FoColor initialized to default value.
Returns : | the new FoColor. |
void fo_color_set_red (FoDatatype *color,guint16 new_red);
Sets the 'red' component of color.
color : | FoColor. |
new_red : | New value of 'red' component of color. |
guint16 fo_color_get_red (FoDatatype *color);
Gets the 'red' component of color.
color : | FoColor. |
Returns : | 'red' component of color. |
void fo_color_set_green (FoDatatype *color,guint16 new_green);
Sets the 'green' component of color.
color : | FoColor. |
new_green : | New value of 'green' component of color. |
guint16 fo_color_get_green (FoDatatype *color);
Gets the 'green' component of color.
color : | FoColor. |
Returns : | 'green' component of color. |
void fo_color_set_blue (FoDatatype *color,guint16 new_blue);
Sets the 'blue' component of color.
color : | FoColor. |
new_blue : | New value of 'blue' component of color. |
guint16 fo_color_get_blue (FoDatatype *color);
Gets the 'blue' component of color.
color : | FoColor. |
Returns : | 'blue' component of color. |
FoDatatype* fo_color_get_color_black (void);
Get an FoColor with the well-known value for the color 'black'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_silver (void);
Get an FoColor with the well-known value for the color 'silver'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_gray (void);
Get an FoColor with the well-known value for the color 'gray'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_white (void);
Get an FoColor with the well-known value for the color 'white'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_maroon (void);
Get an FoColor with the well-known value for the color 'maroon'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_red (void);
Get an FoColor with the well-known value for the color 'red'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_purple (void);
Get an FoColor with the well-known value for the color 'purple'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_fuchsia (void);
Get an FoColor with the well-known value for the color 'fuchsia'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_green (void);
Get an FoColor with the well-known value for the color 'green'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_lime (void);
Get an FoColor with the well-known value for the color 'lime'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_olive (void);
Get an FoColor with the well-known value for the color 'olive'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_yellow (void);
Get an FoColor with the well-known value for the color 'yellow'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_navy (void);
Get an FoColor with the well-known value for the color 'navy'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_blue (void);
Get an FoColor with the well-known value for the color 'blue'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_teal (void);
Get an FoColor with the well-known value for the color 'teal'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_aqua (void);
Get an FoColor with the well-known value for the color 'aqua'.
Returns : | The FoColor. |
FoDatatype* fo_color_get_color_one_quarter (FoDatatype *color);
Get an FoColor that is one-quarter the intensity of color.
color : | Original color. |
Returns : | A color with one-quarter the intensity of color. |
FoDatatype* fo_color_get_color_one_half (FoDatatype *color);
Get an FoColor that is one-half the intensity of color.
color : | Original color. |
Returns : | A color with one-half the intensity of color. |
FoDatatype* fo_color_get_color_three_quarter (FoDatatype *color);
Get an FoColor that is three-quarters of the intensity of color.
color : | Original color. |
Returns : | A color with three-quarters of the intensity of color. |
<< fo-char | fo-enum >> |