Пример #1
0
 protected function drawLine()
 {
     $DP1 = new DP1();
     $DP1->draw_a_line($this->_x1, $this->_y1, $this->_x2, $this->_y2);
 }
Пример #2
0
 public function drawLine($x1, $y1, $x2, $y2)
 {
     $DP1 = new DP1();
     $DP1->draw_a_line($x1, $y1, $x2, $y2);
 }