ColorRGB
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "cd_color_rgb_get_type ()" ) ]
[ Compact ]
public class ColorRGB
Content:
Static methods:
Creation methods:
- public ColorRGB ()
Allocates a color value.
Methods:
- public void @set (double R, double G, double B)
Initialises a color value.
- public void copy (ColorRGB dest)
Deep copies a color value.
- public ColorRGB dup ()
- public void free ()
Deallocates a color value.
- public void from_wavelength (double wavelength)
Set an RGB color which is roughly representative to the wavelength.
- public void interpolate (ColorRGB p2, double index, ColorRGB result)
- public void to_rgb8 (ColorRGB8 dest)
Convert from one color format to another.
Fields: