Top |
Description
The structures here are used haphazardly across the library, describing various small data types.
Functions
gdata_color_from_hexadecimal ()
gboolean gdata_color_from_hexadecimal (const gchar *hexadecimal
,GDataColor *color
);
Parses hexadecimal
and returns a GDataColor describing it in color
.
hexadecimal
should be in the form #
,
where rr
gg
bb
rr
is a two-digit hexadecimal red intensity value, gg
is green
and bb
is blue. The hash is optional.
gdata_color_to_hexadecimal ()
gchar *
gdata_color_to_hexadecimal (const GDataColor *color
);
Returns a string describing color
in hexadecimal form; in the form #
, where rr
gg
bb
rr
is a two-digit hexadecimal red intensity value,
gg
is green and bb
is blue. The hash is always present.
Since: 0.3.0