Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Class for rendering the barcode in PDF resource
float $_moduleSize = '0.5'Module size rendering
Detailsinteger $_page = '0'Page number in PDF resource
Details_checkParams(
)
:
voidCheck renderer parameters
Details_drawPolygon(
array $points, integer $color, boolean $filled
=
true
)
:
Draw a polygon in the rendering resource
Details_drawText(
string $text, float $size, array $position, string $font, integer $color, string $alignment
=
center, float $orientation
=
0
)
:
Draw a polygon in the rendering resource
Details_initRenderer(
)
:
voidInitialize the PDF resource
Detailsrender(
)
:
mixedDraw the barcode in the PDF, send headers and the PDF
DetailssetResource(
$pdf, $page
=
0
)
:
Zend_Barcode_RendererSet an image resource to draw the barcode inside
DetailswidthForStringUsingFontSize(
string $text, Zend_Pdf_Font $font, float $fontSize
)
:
floatCalculate the width of a string: in case of using alignment parameter in drawText
Details