summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
25e1edd)
Implicit "this" is the devil.
double sL, sA, sB;
double oL, oA, oB;
double sL, sA, sB;
double oL, oA, oB;
+ double r, g, b, alpha; // Careful, "a" is a field of this
Color c;
c = hsva_to_color (h, s, v, a);
Color c;
c = hsva_to_color (h, s, v, a);
- color_to_rgba (c, r, g, b, a);
+ color_to_rgba (c, r, g, b, alpha);
Rgb2Lab (&sL, &sA, &sB, r, g, b);
c = hsva_to_color (other.h, other.s, other.v, other.a);
Rgb2Lab (&sL, &sA, &sB, r, g, b);
c = hsva_to_color (other.h, other.s, other.v, other.a);
- color_to_rgba (c, r, g, b, a);
+ color_to_rgba (c, r, g, b, alpha);
Rgb2Lab (&oL, &oA, &oB, r, g, b);
// Weighting factors depending on the application (1 = default)
Rgb2Lab (&oL, &oA, &oB, r, g, b);
// Weighting factors depending on the application (1 = default)