Ejemplo n.º 1
0
 /**
  * Wrapper taking custom units and margins into account
  * @see \ZendPdf\Page::drawRoundedRectangle() for documentation
  */
 public function drawRoundedRectangle($x1, $y1, $x2, $y2, $radius, $fillType = \ZendPdf\Page::SHAPE_DRAW_FILL_AND_STROKE)
 {
     $this->convertCoordinatesFromUserSpace($x1, $y1);
     $this->convertCoordinatesFromUserSpace($x2, $y2);
     list($y1, $y2) = array($y2, $y1);
     $this->convertToPoints($radius);
     return parent::drawRoundedRectangle($x1, $y1, $x2, $y2, $radius, $fillType);
 }