MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / WizColorToString

Function WizColorToString

src/share/WizMisc.cpp:583–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583CString WizColorToString(COLORREF cr)
584{
585 return WizIntToHexEx(GetRValue(cr), 2, FALSE)
586 + WizIntToHexEx(GetGValue(cr), 2, FALSE)
587 + WizIntToHexEx(GetBValue(cr), 2, FALSE);
588}
589CString WizColorToString(const QColor& cr)
590{
591 return WizIntToHexEx(cr.red() , 2, FALSE)

Callers 3

WizColorToSQLFunction · 0.85
toJsonMethod · 0.85

Calls 1

WizIntToHexExFunction · 0.85

Tested by

no test coverage detected