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-
Type:
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-
Type:
doubleThe X-coordinate of the color space’s white point.
wy-
Type:
doubleThe Y-coordinate of the color space’s white point.
wz-
Type:
doubleThe Z-coordinate of the color space’s white point.
rx-
Type:
doubleThe X-coordinate of the red primary.
gx-
Type:
doubleThe X-coordinate of the green primary.
bx-
Type:
doubleThe X-coordinate of the blue primary.
ry-
Type:
doubleThe Y-coordinate of the red primary.
gy-
Type:
doubleThe Y-coordinate of the green primary.
by-
Type:
doubleThe Y-coordinate of the blue primary.
rz-
Type:
doubleThe Z-coordinate of the red primary.
gz-
Type:
doubleThe Z-coordinate of the green primary.
bz-
Type:
doubleThe Z-coordinate of the blue primary.
trc_red-
Type:
BablThe red component of the TRC.
The data is owned by the caller of the function. trc_green-
Type:
BablThe green component of the TRC (can be
NULLif it’s the same astrc_red).The argument can be NULL.The data is owned by the caller of the function. trc_blue-
Type:
BablThe blue component of the TRC (can be
NULLif it’s the same astrc_red).The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: Babl
No description available.
| The data is owned by the called function. |