drawPixel method

void drawPixel(
  1. int x,
  2. int y,
  3. bool color
)

draw single pixel

Implementation

void drawPixel(int x, int y, bool color) {
  _bitmap[x + (width * y)] = color;
}