esp32-sk6812/src/Bitmap.cpp

10 lines
154 B
C++

#include "Bitmap.h"
void Bitmap::resize(uint32_t w, uint32_t h)
{
width = w;
height = h;
m_pixdata.resize(w*h, Fader::Color{0, 0, 0, 0});
}