function arc($x1, $y1, $r1, $r2, $astart, $aend, $color, $width, $style = array()) { $this->_set_line_style($width, "butt", "", $style); $this->_set_stroke_color($color); $y1 = $this->y($y1); $this->_pdf->arc($x1, $y1, $r1, $astart, $aend); $this->_pdf->stroke(); }