![]() |
![]() |
![]() |
GIMP Color Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GimpCMYK; void gimp_cmyk_set (GimpCMYK *cmyk
,gdouble cyan
,gdouble magenta
,gdouble yellow
,gdouble black
); void gimp_cmyk_set_uchar (GimpCMYK *cmyk
,guchar cyan
,guchar magenta
,guchar yellow
,guchar black
); void gimp_cmyk_get_uchar (const GimpCMYK *cmyk
,guchar *cyan
,guchar *magenta
,guchar *yellow
,guchar *black
); void gimp_cmyka_set (GimpCMYK *cmyka
,gdouble cyan
,gdouble magenta
,gdouble yellow
,gdouble black
,gdouble alpha
); void gimp_cmyka_set_uchar (GimpCMYK *cmyka
,guchar cyan
,guchar magenta
,guchar yellow
,guchar black
,guchar alpha
); void gimp_cmyka_get_uchar (const GimpCMYK *cmyka
,guchar *cyan
,guchar *magenta
,guchar *yellow
,guchar *black
,guchar *alpha
); #define GIMP_TYPE_CMYK
void gimp_cmyk_set (GimpCMYK *cmyk
,gdouble cyan
,gdouble magenta
,gdouble yellow
,gdouble black
);
Very basic initialiser for the internal GimpCMYK structure. Channel values are doubles in the range 0 to 1.
|
A GimpCMYK structure which will hold the specified CMYK value. |
|
The Cyan channel of the CMYK value |
|
The Magenta channel |
|
The Yellow channel |
|
The blacK channel |
void gimp_cmyk_set_uchar (GimpCMYK *cmyk
,guchar cyan
,guchar magenta
,guchar yellow
,guchar black
);
The same as gimp_cmyk_set()
, except that channel values are
unsigned chars in the range 0 to 255.
|
A GimpCMYK structure which will hold the specified CMYK value. |
|
The Cyan channel of the CMYK value |
|
The Magenta channel |
|
The Yellow channel |
|
The blacK channel |
void gimp_cmyk_get_uchar (const GimpCMYK *cmyk
,guchar *cyan
,guchar *magenta
,guchar *yellow
,guchar *black
);
Retrieve individual channel values from a GimpCMYK structure. Channel values are pointers to unsigned chars in the range 0 to 255.
|
A GimpCMYK structure which will hold the specified CMYK value. |
|
The Cyan channel of the CMYK value |
|
The Magenta channel |
|
The Yellow channel |
|
The blacK channel |
void gimp_cmyka_set (GimpCMYK *cmyka
,gdouble cyan
,gdouble magenta
,gdouble yellow
,gdouble black
,gdouble alpha
);
Initialiser for the internal GimpCMYK structure. Channel values are doubles in the range 0 to 1.
|
A GimpCMYK structure which will hold the specified CMYKA value. |
|
The Cyan channel of the CMYK value |
|
The Magenta channel |
|
The Yellow channel |
|
The blacK channel |
|
The Alpha channel |
void gimp_cmyka_set_uchar (GimpCMYK *cmyka
,guchar cyan
,guchar magenta
,guchar yellow
,guchar black
,guchar alpha
);
The same as gimp_cmyka_set()
, except that channel values are
unsigned chars in the range 0 to 255.
|
A GimpCMYK structure which will hold the specified CMYKA value. |
|
The Cyan channel of the CMYK value |
|
The Magenta channel |
|
The Yellow channel |
|
The blacK channel |
|
The Alpha channel |
void gimp_cmyka_get_uchar (const GimpCMYK *cmyka
,guchar *cyan
,guchar *magenta
,guchar *yellow
,guchar *black
,guchar *alpha
);
Retrieve individual channel values from a GimpCMYK structure. Channel values are pointers to unsigned chars in the range 0 to 255.
|
A GimpCMYK structure which will hold the specified CMYKA value. |
|
The Cyan channel of the CMYK value |
|
The Magenta channel |
|
The Yellow channel |
|
The blacK channel |
|
The Alpha channel |