KiCad PCB EDA Suite
numEval::KIGFX Namespace Reference

Classes

class  COLOR4D
 COLOR4D is the color representation with 4 components: red, green, blue, alpha. More...
 

Functions

const bool operator== (const COLOR4D &lhs, const COLOR4D &rhs)
 Equality operator, are two colors equal. More...
 
const bool operator!= (const COLOR4D &lhs, const COLOR4D &rhs)
 Not equality operator, are two colors not equal. More...
 
const bool operator< (const COLOR4D &lhs, const COLOR4D &rhs)
 
std::ostream & operator<< (std::ostream &aStream, COLOR4D const &aColor)
 Syntactic sugar for outputting colors to strings. More...
 
void to_json (nlohmann::json &aJson, const COLOR4D &aColor)
 
void from_json (const nlohmann::json &aJson, COLOR4D &aColor)
 

Function Documentation

◆ from_json()

void numEval::KIGFX::from_json ( const nlohmann::json aJson,
COLOR4D aColor 
)

◆ operator!=()

const bool numEval::KIGFX::operator!= ( const COLOR4D lhs,
const COLOR4D rhs 
)

Not equality operator, are two colors not equal.

◆ operator<()

const bool numEval::KIGFX::operator< ( const COLOR4D lhs,
const COLOR4D rhs 
)

◆ operator<<()

std::ostream& numEval::KIGFX::operator<< ( std::ostream &  aStream,
COLOR4D const &  aColor 
)

Syntactic sugar for outputting colors to strings.

◆ operator==()

const bool numEval::KIGFX::operator== ( const COLOR4D lhs,
const COLOR4D rhs 
)

Equality operator, are two colors equal.

◆ to_json()

void numEval::KIGFX::to_json ( nlohmann::json aJson,
const COLOR4D aColor 
)