openshot-audio  0.1.7
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ColourHelpers::HSB Struct Reference

Public Member Functions

 HSB (Colour col) noexcept
 
Colour toColour (Colour original) const noexcept
 

Static Public Member Functions

static PixelARGB toRGB (float h, float s, float v, const uint8 alpha) noexcept
 

Public Attributes

float hue
 
float saturation
 
float brightness
 

Constructor & Destructor Documentation

◆ HSB()

ColourHelpers::HSB::HSB ( Colour  col)
inlinenoexcept

Member Function Documentation

◆ toColour()

Colour ColourHelpers::HSB::toColour ( Colour  original) const
inlinenoexcept

◆ toRGB()

static PixelARGB ColourHelpers::HSB::toRGB ( float  h,
float  s,
float  v,
const uint8  alpha 
)
inlinestaticnoexcept

Member Data Documentation

◆ brightness

float ColourHelpers::HSB::brightness

◆ hue

float ColourHelpers::HSB::hue

◆ saturation

float ColourHelpers::HSB::saturation

The documentation for this struct was generated from the following file: