drawPixel and drawLine