Searched defs:a_hex (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/libcroco/
H A Dcr-rgb.c497 * @a_hex: the hexadecimal value to set.
502 cr_rgb_set_from_hex_str (CRRgb * a_this, const guchar * a_hex) argument
508 g_return_val_if_fail (a_this && a_hex, CR_BAD_PARAM_ERROR);
510 if (strlen ((const char *) a_hex) == 3) {
512 if (a_hex[i] >= '0' && a_hex[i] <= '9') {
513 colors[i] = a_hex[i] - '0';
515 } else if (a_hex[i] >= 'a' && a_hex[i] <= 'z') {
516 colors[i] = 10 + a_hex[
[all...]

Completed in 49 milliseconds