## Class PDF

Description

*****************************************************************************

Software: FPDF * Version: 1.53 * Date: 2004-12-31 * Author: Olivier PLATHEY * License: Freeware * * You may use, modify and redistribute this software as you wish. * *****************************************************************************

Located in /classes/PDF.php (line 22)

Variable Summary
mixed $author
mixed $buffer
mixed $ColorFlag
mixed $compress
mixed $creator
mixed $currentFont
mixed $diffs
mixed $DrawColor
mixed $FillColor
mixed $FontFiles
mixed $fonts
mixed $fontSize
mixed $h
mixed $images
mixed $keywords
mixed $LayoutMode
mixed $LineWidth
mixed $n
mixed $offsets
mixed $page
mixed $pages
mixed $PDFVersion
mixed $state
mixed $subject
mixed $TextColor
mixed $title
mixed $w
mixed $ZoomMode
Method Summary
PDF PDF ( $format, $orientation)
void close ()
void dimensions ()
void endClip ()
void endTransform ()
void Error ( $msg)
void font ( $name, $size)
void Image ( $file, $x, $y, [ $w = 0], [ $h = 0], [ $type = ''], [ $link = ''])
void line ( $p1, $p2)
void lineWidth ( $width)
void newPage ()
void Open ()
void Output ([ $name = ''], [ $dest = ''])
void Rect ( $x, $y, $w, $h, [ $style = ''])
void SetAuthor ( $author)
void SetCompression ( $compress)
void SetCreator ( $creator)
void SetDisplayMode ( $zoom, [ $layout = 'continuous'])
void SetDrawColor ( $r, [ $g = -1], [ $b = -1])
void SetFillColor ( $r, [ $g = -1], [ $b = -1])
void SetKeywords ( $keywords)
void SetSubject ( $subject)
void SetTextColor ( $r, [ $g = -1], [ $b = -1])
void SetTitle ( $title)
void startClip ( $min_pt, $max_pt)
void startTransform ( $a, $b, $c, $d, $x, $y)
void text ( $p, $txt)
void textDim ( $s)
void _beginpage ()
void _dochecks ()
void _enddoc ()
void _endpage ()
void _escape ( $s)
void _freadint ( $f)
void _getfontpath ()
void _loadFont ( $name)
void _newobj ()
void _out ( $s)
void _parsejpg ( $file)
void _parsepng ( $file)
void _putcatalog ()
void _putfonts ()
void _putheader ()
void _putimages ()
void _putinfo ()
void _putpages ()
void _putresourcedict ()
void _putresources ()
void _putstream ( $s)
void _puttrailer ()
void _putxobjectdict ()
void _textstring ( $s)
Variables
mixed $author (line 47)
mixed $buffer (line 27)
mixed $ColorFlag (line 42)
mixed $compress (line 30)
mixed $creator (line 49)
mixed $currentFont (line 37)
mixed $diffs (line 35)
mixed $DrawColor (line 39)
mixed $FillColor (line 40)
mixed $FontFiles (line 34)
mixed $fonts (line 33)
mixed $fontSize (line 38)
mixed $h (line 31)
mixed $images (line 36)
mixed $keywords (line 48)
mixed $LayoutMode (line 44)
mixed $LineWidth (line 32)
mixed $n (line 25)
mixed $offsets (line 26)
mixed $page (line 24)
mixed $pages (line 28)
mixed $PDFVersion (line 50)
mixed $state (line 29)
mixed $subject (line 46)
mixed $TextColor (line 41)
mixed $title (line 45)
mixed $w (line 31)
mixed $ZoomMode (line 43)
Methods
Constructor PDF (line 57)

*****************************************************************************

* Public methods * * *****************************************************************************

PDF PDF ( $format, $orientation)

- $format
- $orientation

close (line 206)
void close ()
dimensions (line 111)
void dimensions ()
endClip (line 194)
void endClip ()
endTransform (line 201)
void endTransform ()
Error (line 272)
void Error ( $msg)

- $msg

font (line 130)
void font ( $name, $size)

- $name
- $size

Image (line 366)
void Image ( $file, $x, $y, [ $w = 0], [ $h = 0], [ $type = ''], [ $link = ''])

- $file
- $x
- $y
- $w
- $h
- $type
- $link

line (line 185)
void line ( $p1, $p2)

- $p1
- $p2

lineWidth (line 178)
void lineWidth ( $width)

- $width

newPage (line 115)
void newPage ()
Open (line 278)
void Open ()
Output (line 416)
void Output ([ $name = ''], [ $dest = ''])

- $name
- $dest

Rect (line 318)
void Rect ( $x, $y, $w, $h, [ $style = ''])

- $x
- $y
- $w
- $h
- $style

SetAuthor (line 254)
void SetAuthor ( $author)

- $author

SetCompression (line 233)
void SetCompression ( $compress)

- $compress

SetCreator (line 266)
void SetCreator ( $creator)

- $creator

SetDisplayMode (line 220)
void SetDisplayMode ( $zoom, [ $layout = 'continuous'])

- $zoom
- $layout

SetDrawColor (line 285)
void SetDrawColor ( $r, [ $g = -1], [ $b = -1])

- $r
- $g
- $b

SetFillColor (line 296)
void SetFillColor ( $r, [ $g = -1], [ $b = -1])

- $r
- $g
- $b

SetKeywords (line 260)
void SetKeywords ( $keywords)

- $keywords

SetSubject (line 248)
void SetSubject ( $subject)

- $subject

SetTextColor (line 308)
void SetTextColor ( $r, [ $g = -1], [ $b = -1])

- $r
- $g
- $b

SetTitle (line 242)
void SetTitle ( $title)

- $title

startClip (line 190)
void startClip ( $min_pt, $max_pt)

- $min_pt
- $max_pt

startTransform (line 198)
void startTransform ( $a, $b, $c, $d, $x, $y)

- $a
- $b
- $c
- $d
- $x
- $y

text (line 166)
void text ( $p, $txt)

- $p
- $txt

textDim (line 147)
void textDim ( $s)

- $s

_beginpage (line 817)
void _beginpage ()
_dochecks (line 489)

*****************************************************************************

* Protected methods * * *****************************************************************************

void _dochecks ()
_enddoc (line 782)
void _enddoc ()
_endpage (line 824)
void _endpage ()
_escape (line 958)
void _escape ( $s)

- $s

_freadint (line 945)
void _freadint ( $f)

- $f

_getfontpath (line 499)
void _getfontpath ()
_loadFont (line 330)
void _loadFont ( $name)

- $name

_newobj (line 830)
void _newobj ()
_out (line 971)
void _out ( $s)

- $s

_parsejpg (line 838)
void _parsejpg ( $file)

- $file

_parsepng (line 862)
void _parsepng ( $file)

- $file

_putcatalog (line 750)
void _putcatalog ()
_putfonts (line 541)
void _putfonts ()
_putheader (line 770)
void _putheader ()
_putimages (line 655)
void _putimages ()
_putinfo (line 734)
void _putinfo ()
_putpages (line 507)
void _putpages ()
_putresourcedict (line 709)
void _putresourcedict ()
_putresources (line 721)
void _putresources ()
_putstream (line 964)
void _putstream ( $s)

- $s

_puttrailer (line 775)
void _puttrailer ()
_putxobjectdict (line 703)
void _putxobjectdict ()
_textstring (line 952)
void _textstring ( $s)

- $s

Documentation generated on Sun, 28 Jul 2013 15:07:04 -0400 by phpDocumentor 1.4.4