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) ;
gboolean cr_rgb_is_set_to_inherit(CRRgb const *a_this)
cr_rgb_is_set_to_inherit:
typedefG_BEGIN_DECLS struct _CRRgb CRRgb
enum CRStatus cr_rgb_set_to_transparent(CRRgb *a_this, gboolean a_is_transparent)
cr_rgb_set_to_transparent: @a_this: the current instance of CRRgb @a_is_transparent: set to transpare...
The Croco library basic types definitions And global definitions.
The declaration of the CRParsingLocation object.
CREncoding
Encoding values.
void cr_rgb_dump(CRRgb const *a_this, FILE *a_fp)
cr_rgb_dump: @a_this: the "this pointer" of the current instance of CRRgb.
CRStatus
The status type returned by the methods of the croco library.
enum CRStatus cr_rgb_copy(CRRgb *a_dest, CRRgb const *a_src)
enum CRStatus cr_rgb_set_from_name(CRRgb *a_this, const guchar *a_color_name)
cr_rgb_set_from_name: @a_this: the current instance of CRRgb @a_color_name: the color name
CRRgb * cr_rgb_parse_from_buf(const guchar *a_str, enum CREncoding a_enc)
cr_rgb_parse_from_buf: @a_str: a string that contains a color description @a_enc: the encoding of a_s...
gboolean cr_rgb_is_set_to_transparent(CRRgb const *a_this)
cr_rgb_is_set_to_transparent: @a_this: the current instance of CRRgb
guchar * cr_rgb_to_string(CRRgb const *a_this)
cr_rgb_to_string: @a_this: the instance of CRRgb to serialize.
CRRgb * cr_rgb_new(void)
cr_rgb_new:
CRParsingLocation location
enum CRStatus cr_rgb_set_from_hex_str(CRRgb *a_this, const guchar *a_hex_value)
cr_rgb_set_from_hex_str: @a_this: the current instance of CRRgb @a_hex: the hexadecimal value to set.
An abstraction of a css2 term as defined in the CSS2 spec in appendix D.1: term ::= [ NUMBER S* | PER...
void cr_rgb_destroy(CRRgb *a_this)
cr_rgb_destroy: @a_this: the "this pointer" of the current instance of CRRgb.
enum CRStatus cr_rgb_set_from_term(CRRgb *a_this, const struct _CRTerm *a_value)
cr_rgb_set_from_term: @a_this: the instance of CRRgb to set @a_value: the terminal from which to set
enum CRStatus cr_rgb_set_to_inherit(CRRgb *a_this, gboolean a_inherit)
cr_rgb_set_to_inherit: @a_this: the current instance of CRRgb
CRRgb * cr_rgb_new_with_vals(gulong a_red, gulong a_green, gulong a_blue, gboolean a_is_percentage)
cr_rgb_new_with_vals: @a_red: the red component of the color.
enum CRStatus cr_rgb_set(CRRgb *a_this, gulong a_red, gulong a_green, gulong a_blue, gboolean a_is_percentage)
cr_rgb_set: @a_this: the current instance of CRRgb.
enum CRStatus cr_rgb_set_from_rgb(CRRgb *a_this, CRRgb const *a_rgb)
cr_rgb_set_from_rgb: @a_this: the current instance of CRRgb.
enum CRStatus cr_rgb_compute_from_percentage(CRRgb *a_this)
cr_rgb_compute_from_percentage: @a_this: the current instance of CRRgb