|
|
@@ -62,9 +62,11 @@ class Zend_Barcode_Renderer_Pdf extends Zend_Barcode_Renderer_RendererAbstract
|
|
|
|
|
|
/**
|
|
|
* Set an image resource to draw the barcode inside
|
|
|
- * @param resource $value
|
|
|
+ *
|
|
|
+ * @param Zend_Pdf $pdf
|
|
|
+ * @param int $page
|
|
|
* @return Zend_Barcode_Renderer
|
|
|
- * @throw Zend_Barcode_Renderer_Exception
|
|
|
+ * @throws Zend_Barcode_Renderer_Exception
|
|
|
*/
|
|
|
public function setResource($pdf, $page = 0)
|
|
|
{
|
|
|
@@ -167,13 +169,14 @@ class Zend_Barcode_Renderer_Pdf extends Zend_Barcode_Renderer_RendererAbstract
|
|
|
|
|
|
/**
|
|
|
* Draw a text in the rendering resource
|
|
|
- * @param string $text
|
|
|
- * @param float $size
|
|
|
- * @param array $position
|
|
|
- * @param string $font
|
|
|
- * @param integer $color
|
|
|
- * @param string $alignment
|
|
|
- * @param float $orientation
|
|
|
+ *
|
|
|
+ * @param string $text
|
|
|
+ * @param float $size
|
|
|
+ * @param array $position
|
|
|
+ * @param string $font
|
|
|
+ * @param integer $color
|
|
|
+ * @param string $alignment
|
|
|
+ * @param float|int $orientation
|
|
|
*/
|
|
|
protected function _drawText(
|
|
|
$text,
|