ColorXYZ
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "cd_color_xyz_get_type ()" ) ]
[ Compact ]
public class ColorXYZ
Content:
Creation methods:
- public ColorXYZ ()
Allocates a color value.
Methods:
- public void @set (double X, double Y, double Z)
Initialises a color value.
- public void clear ()
Initialises a color value.
- public void copy (ColorXYZ dest)
Deep copies a color value.
- public ColorXYZ dup ()
- public void free ()
Deallocates a color value.
- public void normalize (double max, ColorXYZ dest)
Normalizes this to y=1.0
- public double to_cct ()
Gets the correlated color temperature for the XYZ value.
- public void to_uvw (ColorXYZ whitepoint, ColorUVW dest)
Convert from one color format to another.
- public void to_yxy (ColorYxy dest)
Convert from one color format to another.
Fields: