14 Pixel& dev_null_pixel() {
21 : stencil{0, dimx - 1, 0, dimy - 1},
24 pixels_(dimy, std::vector<
Pixel>(dimx)) {}
57 for (
auto& cell : line) {
Pixel & PixelAt(int x, int y)
Access a cell (Pixel) at a given position.
std::string & at(int x, int y)
Access a character in a cell at a given position.
void Clear()
Clear all the pixel from the screen.
std::vector< std::vector< Pixel > > pixels_
bool Contain(int x, int y) const
A Unicode character and its associated style.