1 #ifndef _RIVE_PAINT_COLOR_HPP_
2 #define _RIVE_PAINT_COLOR_HPP_
7 unsigned int colorARGB(int a, int r, int g, int b);
9 unsigned int colorRed(unsigned int value);
11 unsigned int colorGreen(unsigned int value);
13 unsigned int colorBlue(unsigned int value);
15 unsigned int colorAlpha(unsigned int value);
17 float colorOpacity(unsigned int value);
19 unsigned int colorWithAlpha(unsigned int value, unsigned int a);
21 unsigned int colorWithOpacity(unsigned int value, float opacity);
23 unsigned int colorModulateOpacity(unsigned int value, float opacity);
25 unsigned int colorLerp(unsigned int from, unsigned int to, float mix);