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

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -