Ardour  9.0-pre0-427-gd2a3450e2f
Gtkmm2ext::SVAModifier Class Reference

#include <colors.h>

Public Types

enum  Type { Add , Multiply , Assign }
 

Public Member Functions

 SVAModifier (std::string const &)
 
 SVAModifier (Type t, double ss, double vv, double aa)
 
 SVAModifier ()
 
double s () const
 
double v () const
 
double a () const
 
HSV operator() (HSV &hsv) const
 
std::string to_string () const
 
void from_string (std::string const &)
 

Private Attributes

Type type
 
double _s
 
double _v
 
double _a
 

Detailed Description

Definition at line 68 of file colors.h.

Member Enumeration Documentation

◆ Type

Enumerator
Add 
Multiply 
Assign 

Definition at line 71 of file colors.h.

Constructor & Destructor Documentation

◆ SVAModifier() [1/3]

Gtkmm2ext::SVAModifier::SVAModifier ( std::string const &  )

◆ SVAModifier() [2/3]

Gtkmm2ext::SVAModifier::SVAModifier ( Type  t,
double  ss,
double  vv,
double  aa 
)
inline

Definition at line 78 of file colors.h.

◆ SVAModifier() [3/3]

Gtkmm2ext::SVAModifier::SVAModifier ( )
inline

Definition at line 79 of file colors.h.

Member Function Documentation

◆ a()

double Gtkmm2ext::SVAModifier::a ( ) const
inline

Definition at line 83 of file colors.h.

◆ from_string()

void Gtkmm2ext::SVAModifier::from_string ( std::string const &  )

◆ operator()()

HSV Gtkmm2ext::SVAModifier::operator() ( HSV hsv) const

◆ s()

double Gtkmm2ext::SVAModifier::s ( ) const
inline

Definition at line 81 of file colors.h.

◆ to_string()

std::string Gtkmm2ext::SVAModifier::to_string ( ) const

◆ v()

double Gtkmm2ext::SVAModifier::v ( ) const
inline

Definition at line 82 of file colors.h.

Member Data Documentation

◆ _a

double Gtkmm2ext::SVAModifier::_a
private

Definition at line 93 of file colors.h.

◆ _s

double Gtkmm2ext::SVAModifier::_s
private

Definition at line 91 of file colors.h.

◆ _v

double Gtkmm2ext::SVAModifier::_v
private

Definition at line 92 of file colors.h.

◆ type

Type Gtkmm2ext::SVAModifier::type
private

Definition at line 90 of file colors.h.


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