MCPcopy Create free account
hub / github.com/dejwk/roo_display / RawColorReader

Method RawColorReader

test/offscreen_test.cpp:104–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102class RawColorReader {
103 public:
104 RawColorReader(const roo::byte* data, Box extents, ColorMode color_mode)
105 : color_mode_(std::move(color_mode)), data_(data), extents_(extents) {}
106
107 Color get(int16_t x, int16_t y) const {
108 int size = ColorMode::bits_per_pixel / 8;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected