src/Drawille/Canvas.php
private function getDotFromMap($x, $y) {
        $y = $y % 4;
        $x = $x % 2;

        return self::$pixel_map[$y < 0 ? 4 + $y : $y][$x < 0 ? 2 + $x : $x];
    }
private function getDotFromMap($x, $y) {
        $y = $y % 4;
        $x = $x % 2;

        return self::$pixel_map[$y < 0 ? 4 + $y : $y][$x < 0 ? 2 + $x : $x];
    }
Gets a dot from the pixel map.

@param integer $x x position
@param integer $y y position

@return integer dot