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

Method RawColorRect

test/offscreen_test.cpp:218–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 typedef RawColorReader<ColorMode, pixel_order, byte_order> Reader;
217
218 RawColorRect(int16_t width, int16_t height, const roo::byte* data,
219 const ColorMode& color_mode = ColorMode())
220 : extents_(Box(0, 0, width - 1, height - 1)),
221 data_(data),
222 color_mode_(color_mode) {}
223
224 std::unique_ptr<PixelStream> createStream() const override {
225 return std::unique_ptr<PixelStream>(

Callers

nothing calls this directly

Calls 2

ColorModeEnum · 0.85
BoxClass · 0.85

Tested by

no test coverage detected