Is there support for the HSV color model in cairo / gdk / gtk? -
well, question quite simple think. specify colors using hsv color model (https://en.wikipedia.org/wiki/hsl_and_hsv). however, cairo code seems work exclusively rgb / rgba specifications. not find ways convert colors in gtk / gdk either. missing or there simple, portable way convert colors (without additional libraries)?
convertion hsv rgb couple of lines of code, see example here (no code) or so question.
but answer original question:
afaik cairo
entirly based on rgba model, see cairo_format_t
in manual.
Comments
Post a Comment