Method |
Description |
|
CellFit ( number $w, number $h, string $txt = '', number $border, number $ln, string $align = '', boolean $fill = false, string $link = '', boolean $scale = false, boolean $force = true ) |
CellFit
Celula com escala horizontal caso o texto seja muito largo |
|
CellFitScale ( number $w, number $h, string $txt = '', number $border, number $ln, string $align = '', boolean $fill = false, string $link = '' ) |
CellFitScale
Celula com escalamento horizontal somente se necessário |
|
CellFitScaleForce ( number $w, number $h, string $txt = '', number $border, number $ln, string $align = '', boolean $fill = false, string $link = '' ) |
CellFitScaleForce
Celula com escalamento forçado |
|
CellFitSpace ( number $w, number $h, string $txt = '', number $border, number $ln, string $align = '', boolean $fill = false, string $link = '' ) |
CellFitSpace
Celula com espaçamento de caracteres somente se necessário |
|
CellFitSpaceForce ( number $w, number $h, string $txt = '', number $border, number $ln, string $align = '', boolean $fill = false, string $link = '' ) |
CellFitSpaceForce
Celula com espaçamento de caracteres forçado |
|
Close ( ) |
|
|
Code128 ( $x, $y, $code, $w, $h ) |
Code128
Imprime barcode 128 |
|
DashedHLine ( number $x, number $y, number $w, number $h, number $n ) : none |
DashedLine
Desenha uma linha horizontal tracejada com o FPDF |
|
DashedRect ( number $x1, number $y1, number $x2, number $y2, number $width = 1, number $nb = 15 ) |
DashedRect
Desenha um retangulo com linhas tracejadas |
|
DashedVLine ( number $x, number $y, number $w, number $yfinal, number $n ) : none |
DashedVLine
Desenha uma linha vertical tracejada com o FPDF |
|
Image ( $file, $x = null, $y = null, $w, $h, $type = '', $link = '', $isMask = false, $maskImg ) |
* * *****************************************************************************
*
Public methods *
*
***************************************************************************** |
|
ImagePngWithAlpha ( $file, $x, $y, $w, $h, $link = '' ) |
pixel-wise operation, not very fast |
|
Rotate ( number $angle, number $x, number $y ) |
Rotate
Rotaciona para impressão paisagem (landscape) |
|
RoundedRect ( number $x, number $y, number $w, number $h, number $r, string $corners = '1234', string $style = '' ) |
RoundedRect
Desenha um retangulo com cantos arredondados |
|
WordWrap ( type &$text, type $maxwidth ) : integer |
WordWrap
Quebra o texto para caber na caixa |
|
__construct ( $orientation = 'P', $unit = 'mm', $format = 'A4' ) |
Caracteres de troca de grupo |
|
_gamma ( $v ) |
GD seems to use a different gamma, this method is used to correct it again |
|
_parsepng ( $file ) |
if you only use the ImagePngWithAlpha method for such PNGs, you can remove it from this script. |
|
_putimages ( ) |
* * *****************************************************************************
*
Private methods *
*
***************************************************************************** |
|
drawTextBox ( string $strText, number $w, number $h, string $align = 'L', string $valign = 'T', boolean $border = true ) |
drawTextBox
Monta uma caixa de texto |
|