![]() |
MCL
Minimalistic Color Library
|
c: [0..1]; m: [0..1]; y: [0..1]; k: [0..1]; a: [0..1]
#include <nauths/mcl/spaces/cmyk.hh>
Inheritance diagram for CMYK:Public Types | |
| enum | Key { C = 0, M = 1, Y = 2, K = 3, A = 4, ALPHA = 4 } |
| typedef double | Value |
| typedef CMYK | Reference |
| typedef std::array< Value, 5 > | Super |
Public Member Functions | |
| CMYK (Value c, Value m, Value y, Value k) | |
| CMYK (Value c, Value m, Value y, Value k, Value a) | |
| Value | c () const |
| Value | m () const |
| Value | y () const |
| Value | k () const |
| Value | a () const |
| Value & | c () |
| Value & | m () |
| Value & | y () |
| Value & | k () |
| Value & | a () |
| Value | alpha () const |
| Value & | alpha () |
| void | c (Value x) |
| void | m (Value x) |
| void | y (Value x) |
| void | k (Value x) |
| void | a (Value x) |
| void | alpha (Value x) |
| void | clamp () |
| CMYK | clamped () const |
| void | round (double to=0.001) |
| CMYK | rounded (double to=0.001) const |
Static Public Member Functions | |
| static SpaceType | type () |
Public Attributes | |
| T | elements |
| STL member. | |