lib_colorchooser.h File Reference

Classes

class  ColorSwatchGroup
 
class  ColorSwatchData
 

Macros

#define LIB_COLORCHOOSER
 
#define LIB_COLORSWATCHDATA
 
#define LIB_COLORSWATCHGROUP
 

Typedefs

using ColorAlphaArray = maxon::BaseArray< maxon::ColorA >
 

Enumerations

enum class  SWATCH_CATEGORY {
  GLOBAL ,
  DOCUMENT
}
 

Functions

enum SWATCH_CATEGORY MAXON_ENUM_LIST (SWATCH_CATEGORY)
 
String ColorRGBToString (const Vector &color)
 
String ColorHSVToString (const Vector &color)
 
Int ColorComponentFloatTo8Bit (Float colorComponent)
 
Float ColorComponent8BitToFloat (Int colorComponent)
 
void ColorFloatTo8Bit (const Vector &floatColor, Int &red, Int &green, Int &blue)
 
Vector Color8BitToFloat (Int red, Int green, Int blue)
 
Int ColorComponentFloatTo16Bit (Float colorComponent)
 
Float ColorComponent16BitToFloat (Int colorComponent)
 
void ColorFloatTo16Bit (const Vector &floatColor, Int &red, Int &green, Int &blue)
 
Vector Color16BitToFloat (Int red, Int green, Int blue)
 
Vector ColorKelvinTemperatureToRGB (Float kelvinDegrees, Float tint=0.0)
 
Bool ColorHarmonyGetComplementary (const Vector &color, Bool ryb, maxon::BaseArray< Vector > &palette)
 
Bool ColorHarmonyGetSplitComplementary (const Vector &color, Bool ryb, maxon::BaseArray< Vector > &palette)
 
Bool ColorHarmonyGetTetradic (const Vector &color, Bool ryb, maxon::BaseArray< Vector > &palette)
 
Bool ColorHarmonyGetAnalogous (const Vector &color, Int colorCount, Bool ryb, maxon::BaseArray< Vector > &palette)
 
Bool ColorHarmonyGetEquiangular (const Vector &color, Int colorCount, Bool ryb, maxon::BaseArray< Vector > &palette)
 
Bool ColorHarmonyRotateColor (const Vector &color, Int colorCount, Float angle, Bool ryb, maxon::BaseArray< Vector > &palette)
 
Bool ColorHarmonyInterpolateColors (const Vector &color1, const Vector &color2, Int colorCount, Bool ryb, maxon::BaseArray< Vector > &palette)
 

Variables

 GLOBAL
 
 DOCUMENT
 
class ColorSwatchGroup MAXON_ENUM_LIST
 

Variable Documentation

◆ GLOBAL

GLOBAL

◆ DOCUMENT

DOCUMENT