MCPcopy Create free account
hub / github.com/IENT/YUView / gray

Method gray

YUViewLib/src/common/Color.cpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52int Color::gray() const
53{
54 return (this->values[0] * 11 + this->values[1] * 16 + this->values[1] * 5) / 32;
55}
56
57std::string Color::toHex() const
58{

Callers 1

paintEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected