![]() | ![]() | ![]() | xmlroff Reference Manual | ![]() |
---|
fo-color —
struct FoColor; struct FoColorClass; FoDatatype* fo_color_new (void); FoDatatype* fo_color_new_with_value (guint red, guint green, guint blue); #define FO_COLOR_COMPONENT_MAX guint16 fo_color_get_red (FoDatatype *color); guint16 fo_color_get_green (FoDatatype *color); 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);
"blue" guint : Read / Write / Construct Only "green" guint : Read / Write / Construct Only "red" guint : Read / Write / Construct Only
FoDatatype* fo_color_new (void);
Creates a new FoColor initialized to default value.
Returns : | the new FoColor. |
FoDatatype* fo_color_new_with_value (guint red, guint green, guint blue);
Creates a new FoColor with specified values.
guint16 fo_color_get_red (FoDatatype *color);
Gets the 'red' component of color.
color : | FoColor. |
Returns : | 'red' component of color. |
guint16 fo_color_get_green (FoDatatype *color);
Gets the 'green' component of color.
color : | FoColor. |
Returns : | 'green' 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 >> |