Functions

go-color.c File Reference

#include <goffice/goffice-config.h>
#include "go-color.h"
#include <stdio.h>

Functions

gboolean go_color_from_str (gchar const *str, GOColor *res)
 go_color_from_str : : :
gchar * go_color_as_str (GOColor color)
PangoAttribute * go_color_to_pango (GOColor color, gboolean is_fore)

Function Documentation

gchar* go_color_as_str ( GOColor  color  ) 
gboolean go_color_from_str ( gchar const *  str,
GOColor res 
)

go_color_from_str : : :

Returns: TRUE if can be parsed as a color of the form R:G:B:A and the result is stored in .

References GO_COLOR_FROM_GDK_RGBA, and GO_COLOR_FROM_RGBA.

PangoAttribute* go_color_to_pango ( GOColor  color,
gboolean  is_fore 
)