|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiCMYKColor.h>
Public Member Functions | |
| cmykColor () | |
| cmykColor (float nc, float nm, float ny, float nk) | |
| float | getCyan () const |
| float | getMagenta () const |
| float | getYellow () const |
| float | getBlack () const |
| void | setCyan (const float &cyan) |
| void | setMagenta (const float &magenta) |
| void | setYellow (const float &yellow) |
| void | setBlack (const float &black) |
| cmykColor & | copy (const cmykColor &other) |
| cmykColor & | operator= (const cmykColor &other) |
| bool | isEqual (const cmykColor &other) const |
| bool | operator== (const cmykColor &other) const |
| bool | operator!= (const cmykColor &other) const |
| bool | operator< (const cmykColor &other) const |
| bool | operator> (const cmykColor &other) const |
At present, CMYK colors can only be used for EPS drawings.
|
|
Default constructor. Sets this color to (0,0,0,0) which is the CMYK representation of white. |
|
||||||||||||||||||||
|
Constructor. Sets the C, M, Y, and K components to the given values. |
|
|
Copies the "other" color to this color.
|
|
|
Returns the value of the K (=blacK) component of this color.
|
|
|
Returns the value of the C (=Cyan) component of this color.
|
|
|
Returns the value of the M (=Magenta) component of this color.
|
|
|
Returns the value of the Y (=Yellow) component of this color.
|
|
|
Compare two colors (true if equal!).
|
|
|
Alias for !compare().
|
|
|
An cmykColor is said to be "smaller" than another one, if any of its component values is smaller than the other component.
|
|
|
Alias for copy.
|
|
|
Alias for compare().
|
|
|
An cmykColor is said to be "bigger" than another one, if any of its component values is smaller than the other component.
|
|
|
sets the value of the Black component of this color
|
|
|
sets the value of the Cyan component of this color
|
|
|
sets the value of the Magenta component of this color
|
|
|
sets the value of the Yellow component of this color
|