46 {
49 uint32_t count = 0;
50 for (uint16_t h = 0; h < height; ++h) {
51 for (uint16_t w = 0; w < width; ++w) {
52 uint32_t in_idx =
xyMap(w, h);
53 uint32_t out_idx = count++;
55 FASTLED_WARN(
"Frame::drawXY: in index out of range: " << in_idx);
56 continue;
57 }
59 FASTLED_WARN(
"Frame::drawXY: out index out of range: " << out_idx);
60 continue;
61 }
62 switch (draw_mode) {
65 break;
66 }
69 break;
70 }
71 }
72 }
73 }
74}
XYMap xyMap(HEIGHT, WIDTH, SERPENTINE)
fl::scoped_array< CRGB > mRgb
const size_t mPixelsCount
uint16_t getWidth() const
uint16_t getHeight() const
@ DRAW_MODE_BLEND_BY_BLACK
static CRGB blendAlphaMaxChannel(const CRGB &upper, const CRGB &lower)