Commit e294fcbfe285546293ad096c16be193b45e1bb74
1 parent
e3d260b6
Exists in
master
Adicionado método helper
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
ieducar/intranet/include/clsPDF.inc.php
... | ... | @@ -609,6 +609,13 @@ class clsPDF |
609 | 609 | $fonte, $tamanho, $color, $align); |
610 | 610 | } |
611 | 611 | |
612 | + function escreve_relativo_center($texto, $x_topleft, $y_topleft, $largura, $altura, | |
613 | + $fonte = 'arial', $tamanho = '10', $color = '#000000', $align = 'center') | |
614 | + { | |
615 | + $this->escreve_relativo($texto, $x_topleft, $y_topleft, $largura, $altura, | |
616 | + $fonte, $tamanho, $color, $align); | |
617 | + } | |
618 | + | |
612 | 619 | /** |
613 | 620 | * Funcao que escreve um texto na pagina (de cima para baixo, da esqueda para direita) |
614 | 621 | * recebe todas as variaveis de posicao (X,Y) em valores absolutos | ... | ... |