55 gulong a_blue, gboolean a_is_percentage) ;
63 gulong a_green, gulong a_blue,
64 gboolean a_is_percentage) ;
75 gboolean a_is_transparent) ;
The declaration of the CRParsingLocation object.
CRRgb * cr_rgb_new_with_vals(gulong a_red, gulong a_green, gulong a_blue, gboolean a_is_percentage)
enum CRStatus cr_rgb_set_to_inherit(CRRgb *a_this, gboolean a_inherit)
void cr_rgb_destroy(CRRgb *a_this)
gboolean cr_rgb_is_set_to_inherit(CRRgb const *a_this)
enum CRStatus cr_rgb_copy(CRRgb *a_dest, CRRgb const *a_src)
enum CRStatus cr_rgb_set_to_transparent(CRRgb *a_this, gboolean a_is_transparent)
typedefG_BEGIN_DECLS struct _CRRgb CRRgb
enum CRStatus cr_rgb_set_from_rgb(CRRgb *a_this, CRRgb const *a_rgb)
guchar * cr_rgb_to_string(CRRgb const *a_this)
enum CRStatus cr_rgb_set(CRRgb *a_this, gulong a_red, gulong a_green, gulong a_blue, gboolean a_is_percentage)
enum CRStatus cr_rgb_set_from_hex_str(CRRgb *a_this, const guchar *a_hex_value)
gboolean cr_rgb_is_set_to_transparent(CRRgb const *a_this)
void cr_rgb_dump(CRRgb const *a_this, FILE *a_fp)
enum CRStatus cr_rgb_compute_from_percentage(CRRgb *a_this)
enum CRStatus cr_rgb_set_from_term(CRRgb *a_this, const struct _CRTerm *a_value)
enum CRStatus cr_rgb_set_from_name(CRRgb *a_this, const guchar *a_color_name)
CRRgb * cr_rgb_parse_from_buf(const guchar *a_str, enum CREncoding a_enc)
The Croco library basic types definitions And global definitions.
CRStatus
The status type returned by the methods of the croco library.
CREncoding
Encoding values.
CRParsingLocation location
An abstraction of a css2 term as defined in the CSS2 spec in appendix D.1: term ::= [ NUMBER S* | PER...