MCPcopy Create free account
hub / github.com/comaps/comaps / SaveColorToABGR

Function SaveColorToABGR

libs/kml/serdes.cpp:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void SaveColorToABGR(Writer & writer, uint32_t rgba)
157{
158 writer << NumToHex(static_cast<uint8_t>(rgba & 0xFF)) << NumToHex(static_cast<uint8_t>((rgba >> 8) & 0xFF))
159 << NumToHex(static_cast<uint8_t>((rgba >> 16) & 0xFF)) << NumToHex(static_cast<uint8_t>((rgba >> 24) & 0xFF));
160}
161
162std::string TimestampToString(Timestamp const & timestamp)
163{

Callers 1

SaveTrackLayerFunction · 0.85

Calls 1

NumToHexFunction · 0.85

Tested by

no test coverage detected