Function
Bablspace_from_rgbxyz_matrix
Declaration [src]
const Babl*
babl_space_from_rgbxyz_matrix (
const char* name,
double wx,
double wy,
double wz,
double rx,
double gx,
double bx,
double ry,
double gy,
double by,
double rz,
double gz,
double bz,
const Babl* trc_red,
const Babl* trc_green,
const Babl* trc_blue
)
Description [src]
Creates a new RGB matrix color space definition using a precomputed D50 adapted 3x3 matrix and associated CIE XYZ whitepoint, as possibly read from an ICC profile.
Parameters
name |
const char* |
The name for the color space. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
wx |
double |
The X-coordinate of the color space’s white point. |
|
wy |
double |
The Y-coordinate of the color space’s white point. |
|
wz |
double |
The Z-coordinate of the color space’s white point. |
|
rx |
double |
The X-coordinate of the red primary. |
|
gx |
double |
The X-coordinate of the green primary. |
|
bx |
double |
The X-coordinate of the blue primary. |
|
ry |
double |
The Y-coordinate of the red primary. |
|
gy |
double |
The Y-coordinate of the green primary. |
|
by |
double |
The Y-coordinate of the blue primary. |
|
rz |
double |
The Z-coordinate of the red primary. |
|
gz |
double |
The Z-coordinate of the green primary. |
|
bz |
double |
The Z-coordinate of the blue primary. |
|
trc_red |
Babl |
The red component of the TRC. |
|
The data is owned by the caller of the function. | |
trc_green |
Babl |
The green component of the TRC (can be |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
trc_blue |
Babl |
The blue component of the TRC (can be |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |
Return value
Returns: | Babl |
No description available. | |
The data is owned by the called function. |