Example #1
0
 static function reduceArrow($point_array, $scale, $fixedX, $fixedY)
 {
     $reduce_poly = array();
     while (count($point_array) > 1) {
         $temp_x = RosaceWindManage::getX(array_shift($point_array));
         $temp_y = RosaceWindManage::getY(array_shift($point_array));
         RosaceWindManage::reduce_point($temp_x, $temp_y, $scale, $fixedX, $fixedY);
         array_push($reduce_poly, $temp_x);
         array_push($reduce_poly, $temp_y);
     }
     return $reduce_poly;
 }