Ejemplo n.º 1
0
 private function smoothFuture(awDriver $driver, awColor $color, $width, $height)
 {
     if ($this->smooth) {
         for ($i = 0; $i < $this->size; $i++) {
             for ($j = 0; $j <= $i; $j++) {
                 $driver->point($color, new awPoint($i, $this->size - $j - 1));
             }
         }
         for ($i = 0; $i < $this->size; $i++) {
             for ($j = 0; $j <= $i; $j++) {
                 $driver->point($color, new awPoint($width - $this->size + $j, $height - $i - 1));
             }
         }
     }
 }