class PDFlib (View source)

Methods

bool
activate_item(int $id)

Activates a previously created structure element or other content item.

bool
add_launchlink(float $llx, float $lly, float $urx, float $ury, string $filename)

Adds a link to a web resource.

bool
add_locallink(float $lowerleftx, float $lowerlefty, float $upperrightx, float $upperrighty, int $page, string $dest)

Add a link annotation to a target within the current PDF file.

bool
add_nameddest(string $name, string $optlist)

Creates a named destination on an arbitrary page in the current document.

bool
add_note(float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open)

Sets an annotation for the current page.

bool
add_pdflink(float $bottom_left_x, float $bottom_left_y, float $up_right_x, float $up_right_y, string $filename, int $page, string $dest)

Add a file link annotation to a PDF target.

int
add_table_cell(int $table, int $column, int $row, string $text, string $optlist)

Adds a cell to a new or existing table.

int
add_textflow(int $textflow, string $text, string $optlist)

Creates a Textflow object, or adds text and explicit options to an existing Textflow.

bool
add_thumbnail(int $image)

Adds an existing image as thumbnail for the current page.

bool
add_weblink(float $lowerleftx, float $lowerlefty, float $upperrightx, float $upperrighty, string $url)

Adds a weblink annotation to a target url on the Web.

bool
arc(float $x, float $y, float $r, float $alpha, float $beta)

Adds a counterclockwise circular arc

bool
arcn(float $x, float $y, float $r, float $alpha, float $beta)

Except for the drawing direction, this function behaves exactly like PDF_arc().

bool
attach_file(float $llx, float $lly, float $urx, float $ury, string $filename, string $description, string $author, string $mimetype, string $icon)

Adds a file attachment annotation.

int
begin_document(string $filename, string $optlist)

Creates a new PDF file subject to various options.

bool
begin_font(string $filename, float $a, float $b, float $c, float $d, float $e, float $f, string $optlist)

Starts a Type 3 font definition.

bool
begin_glyph(string $glyphname, float $wx, float $llx, float $lly, float $urx, float $ury)

Starts a glyph definition for a Type 3 font.

int
begin_item(string $tag, string $optlist)

Opens a structure element or other content item with attributes supplied as options.

bool
begin_layer(int $layer)

Starts a layer for subsequent output on the page.

bool
begin_page_ext(float $width, float $height, string $optlist)

Adds a new page to the document, and specifies various options. The parameters width and height are the dimensions of the new page in points.

bool
begin_page(float $width, float $height)

Adds a new page to the document.

int
begin_pattern(float $width, float $height, float $xstep, float $ystep, int $painttype)

Starts a new pattern definition.

int
begin_template_ext(float $width, float $height, string $optlist)

Starts a new template definition.

int
begin_template(float $width, float $height)

No description

bool
circle(float $x, float $y, float $r)

No description

bool
clip()

No description

bool
close_image(int $image)

No description

bool
close_pdi_page(int $page)

Closes the page handle, and frees all page-related resources

bool
close_pdi(int $doc)

No description

bool
close_pdi_document(int $doc)

No description

bool
close()

No description

bool
closepath_fill_stroke()

No description

bool
closepath_stroke()

No description

bool
closepath()

No description

bool
concat(float $a, float $b, float $c, float $d, float $e, float $f)

No description

bool
continue_text(string $text)

No description

int
create_3dview(string $username, string $optlist)

No description

int
create_action(string $type, string $optlist)

No description

bool
create_annotation(float $llx, float $lly, float $urx, float $ury, string $type, string $optlist)

No description

int
create_bookmark(string $text, string $optlist)

No description

bool
create_field(float $llx, float $lly, float $urx, float $ury, string $name, string $type, string $optlist)

No description

bool
create_fieldgroup(string $name, string $optlist)

No description

int
create_gstate(string $optlist)

No description

bool
create_pvf(string $filename, string $data, string $optlist)

No description

int
create_textflow(string $text, string $optlist)

No description

bool
curveto(float $x1, float $y1, float $x2, float $y2, float $x3, float $y3)

No description

int
define_layer(string $name, string $optlist)

No description

int
delete_pvf(string $filename)

No description

bool
delete_table(int $table, string $optlist)

No description

bool
delete_textflow(int $textflow)

No description

bool
delete()

No description

bool
encoding_set_char(string $encoding, int $slot, string $glyphname, int $uv)

No description

bool
end_document(string $optlist)

No description

bool
end_font()

No description

bool
end_glyph()

No description

bool
end_item(int $id)

No description

bool
end_layer()

No description

bool
end_page_ext(string $optlist)

No description

bool
end_page()

No description

bool
end_pattern()

No description

bool
end_template()

No description

bool
endpath()

No description

int
fill_imageblock(int $page, string $blockname, int $image, string $optlist)

No description

int
fill_pdfblock(int $page, string $blockname, int $contents, string $optlist)

No description

bool
fill_stroke()

No description

int
fill_textblock(int $page, string $blockname, string $text, string $optlist)

No description

bool
fill()

No description

int
findfont(string $fontname, string $encoding, int $embed)

No description

bool
fit_image(int $image, float $x, float $y, string $optlist)

No description

bool
fit_pdi_page(int $page, float $x, float $y, string $optlist)

No description

string
fit_table(int $table, float $llx, float $lly, float $urx, float $ury, string $optlist)

No description

string
fit_textflow(int $textflow, float $llx, float $lly, float $urx, float $ury, string $optlist)

No description

bool
fit_textline(string $text, float $x, float $y, string $optlist)

No description

string
get_apiname()

No description

string
get_buffer()

No description

string
get_errmsg()

No description

int
get_errnum()

No description

int
get_majorversion()

No description

int
get_minorversion()

No description

float
get_option(string $keyword, string $optlist)

No description

string
get_parameter(string $key, float $modifier)

No description

string
get_pdi_parameter(string $key, int $doc, int $page, int $reserved)

No description

float
get_pdi_value(string $key, int $doc, int $page, int $reserved)

No description

float
get_string(string $keyword, string $optlist)

No description

float
get_value(string $key, float $modifier)

No description

float
info_font(int $font, string $keyword, string $optlist)

No description

float
info_image(int $image, string $keyword, string $optlist)

No description

float
info_matchbox(string $boxname, int $num, string $keyword)

No description

float
info_graphics(int $graphics, string $keyword, string $optlist)

No description

float
info_path(int $path, string $keyword, string $optlist)

No description

float
info_pdi_page($page, string $keyword, string $optlist)

No description

float
info_pvf(string $filename, string $keyword)

No description

float
info_table(int $table, string $keyword)

No description

float
info_textflow(int $textflow, string $keyword)

No description

float
info_textline(string $text, string $keyword, string $optlist)

No description

bool
initgraphics()

No description

bool
lineto(float $x, float $y)

No description

int
load_3ddata(string $filename, string $optlist)

No description

int
load_font(string $fontname, string $encoding, string $optlist)

No description

int
load_iccprofile(string $profilename, string $optlist)

No description

int
load_image(string $imagetype, string $filename, string $optlist)

No description

int
makespotcolor(string $spotname)

No description

bool
moveto(float $x, float $y)

No description

int
open_ccitt(string $filename, int $width, int $height, int $BitReverse, int $k, int $Blackls1)

No description

bool
open_file(string $filename)

No description

int
open_image_file(string $imagetype, string $filename, string $stringparam, int $intparam)

No description

int
open_image(string $imagetype, string $source, string $data, int $length, int $width, int $height, int $components, int $bpc, string $params)

No description

int
open_memory_image(resource $image)

No description

int
open_pdi_document(string $filename, string $optlist)

No description

int
open_pdi_page(int $doc, int $pagenumber, string $optlist)

No description

int
open_pdi(string $filename, string $optlist, int $len)

No description

float
pcos_get_number(int $doc, string $path)

No description

string
pcos_get_stream(int $doc, string $optlist, string $path)

No description

string
pcos_get_string(int $doc, string $path)

No description

bool
place_image(int $image, float $x, float $y, float $scale)

No description

bool
place_pdi_page(int $page, float $x, float $y, float $sx, float $sy)

No description

bool
set_option(string $optlist)

No description

int
process_pdi(int $doc, int $page, string $optlist)

No description

bool
rect(float $x, float $y, float $width, float $height)

No description

bool
restore()

No description

bool
resume_page(string $optlist)

No description

bool
rotate(float $phi)

No description

bool
save()

No description

bool
scale(float $sx, float $sy)

No description

bool
set_border_color(float $red, float $green, float $blue)

No description

bool
set_border_dash(float $black, float $white)

No description

bool
set_border_style(string $style, float $width)

No description

bool
set_gstate(int $gstate)

No description

bool
set_info(string $key, string $value)

No description

bool
set_layer_dependency(string $type, string $optlist)

No description

bool
set_parameter(string $key, string $value)

No description

bool
set_text_pos(float $x, float $y)

No description

bool
set_value(string $key, float $value)

No description

bool
setcolor(string $fstype, string $colorspace, float $c1, float $c2, float $c3, float $c4)

No description

bool
setdash(float $b, float $w)

No description

bool
setdashpattern(string $optlist)

No description

bool
setflat(float $flatness)

No description

bool
setfont(int $font, float $fontsize)

No description

bool
setgray_fill(float $g)

No description

bool
setgray_stroke(float $g)

No description

bool
setgray(float $g)

No description

bool
setlinecap(int $linecap)

No description

bool
setlinejoin(int $value)

No description

bool
setlinewidth(float $width)

No description

bool
setmatrix(float $a, float $b, float $c, float $d, float $e, float $f)

No description

bool
setmiterlimit(float $miter)

No description

bool
setrgbcolor_fill(float $red, float $green, float $blue)

No description

bool
setrgbcolor_stroke(float $red, float $green, float $blue)

No description

bool
setrgbcolor(float $red, float $green, float $blue)

No description

int
shading_pattern(int $shading, string $optlist)

No description

int
shading(string $shtype, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist)

No description

bool
shfill(int $shading)

No description

int
show_boxed(string $text, float $left, float $top, float $width, float $height, string $mode, string $feature)

No description

bool
show_xy(string $text, float $x, float $y)

No description

bool
show(string $text)

No description

bool
skew(float $alpha, float $beta)

No description

float
stringwidth(string $text, int $font, float $fontsize)

No description

bool
stroke()

No description

bool
suspend_page(string $optlist)

No description

bool
translate(float $tx, float $ty)

No description

string
utf16_to_utf8(string $utf16string)

No description

string
utf32_to_utf16(string $utf32string, string $ordering)

No description

string
utf8_to_utf16(string $utf8string, string $ordering)

No description

Details

bool activate_item(int $id)

Activates a previously created structure element or other content item.

Parameters

int $id

Return Value

bool

Adds a link to a web resource.

Parameters

float $llx
float $lly
float $urx
float $ury
string $filename

Return Value

bool

See also

PDF_create_action()

Add a link annotation to a target within the current PDF file.

Parameters

float $lowerleftx
float $lowerlefty
float $upperrightx
float $upperrighty
int $page
string $dest

Return Value

bool

See also

PDF_create_action()

bool add_nameddest(string $name, string $optlist)

Creates a named destination on an arbitrary page in the current document.

Parameters

string $name
string $optlist

Return Value

bool

bool add_note(float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open)

Sets an annotation for the current page.

Parameters

float $llx
float $lly
float $urx
float $ury
string $contents
string $title
string $icon
int $open

Return Value

bool

See also

PDF_create_annotation()

Add a file link annotation to a PDF target.

Parameters

float $bottom_left_x
float $bottom_left_y
float $up_right_x
float $up_right_y
string $filename
int $page
string $dest

Return Value

bool

See also

PDF_create_action

int add_table_cell(int $table, int $column, int $row, string $text, string $optlist)

Adds a cell to a new or existing table.

Parameters

int $table
int $column
int $row
string $text
string $optlist

Return Value

int

int add_textflow(int $textflow, string $text, string $optlist)

Creates a Textflow object, or adds text and explicit options to an existing Textflow.

Parameters

int $textflow
string $text
string $optlist

Return Value

int

bool add_thumbnail(int $image)

Adds an existing image as thumbnail for the current page.

Parameters

int $image

Return Value

bool

Adds a weblink annotation to a target url on the Web.

Parameters

float $lowerleftx
float $lowerlefty
float $upperrightx
float $upperrighty
string $url

Return Value

bool

See also

PDF_create_action()

bool arc(float $x, float $y, float $r, float $alpha, float $beta)

Adds a counterclockwise circular arc

Parameters

float $x
float $y
float $r
float $alpha
float $beta

Return Value

bool

bool arcn(float $x, float $y, float $r, float $alpha, float $beta)

Except for the drawing direction, this function behaves exactly like PDF_arc().

Parameters

float $x
float $y
float $r
float $alpha
float $beta

Return Value

bool

bool attach_file(float $llx, float $lly, float $urx, float $ury, string $filename, string $description, string $author, string $mimetype, string $icon)

Adds a file attachment annotation.

Parameters

float $llx
float $lly
float $urx
float $ury
string $filename
string $description
string $author
string $mimetype
string $icon

Return Value

bool

See also

PDF_create_annotation()

int begin_document(string $filename, string $optlist)

Creates a new PDF file subject to various options.

Parameters

string $filename
string $optlist

Return Value

int

bool begin_font(string $filename, float $a, float $b, float $c, float $d, float $e, float $f, string $optlist)

Starts a Type 3 font definition.

Parameters

string $filename
float $a
float $b
float $c
float $d
float $e
float $f
string $optlist

Return Value

bool

bool begin_glyph(string $glyphname, float $wx, float $llx, float $lly, float $urx, float $ury)

Starts a glyph definition for a Type 3 font.

Parameters

string $glyphname
float $wx
float $llx
float $lly
float $urx
float $ury

Return Value

bool

int begin_item(string $tag, string $optlist)

Opens a structure element or other content item with attributes supplied as options.

Parameters

string $tag
string $optlist

Return Value

int

bool begin_layer(int $layer)

Starts a layer for subsequent output on the page.

Parameters

int $layer

Return Value

bool

bool begin_page_ext(float $width, float $height, string $optlist)

Adds a new page to the document, and specifies various options. The parameters width and height are the dimensions of the new page in points.

Parameters

float $width
float $height
string $optlist

Return Value

bool

bool begin_page(float $width, float $height)

Adds a new page to the document.

Parameters

float $width
float $height

Return Value

bool

See also

PDF_begin_page_ext()

int begin_pattern(float $width, float $height, float $xstep, float $ystep, int $painttype)

Starts a new pattern definition.

Parameters

float $width
float $height
float $xstep
float $ystep
int $painttype

Return Value

int

int begin_template_ext(float $width, float $height, string $optlist)

Starts a new template definition.

Parameters

float $width
float $height
string $optlist

Return Value

int

int begin_template(float $width, float $height)

No description

Parameters

float $width
float $height

Return Value

int

See also

PDF_begin_template_ext

bool circle(float $x, float $y, float $r)

No description

Parameters

float $x
float $y
float $r

Return Value

bool

bool clip()

No description

Return Value

bool

bool close_image(int $image)

No description

Parameters

int $image

Return Value

bool

bool close_pdi_page(int $page)

Closes the page handle, and frees all page-related resources

Parameters

int $page

Return Value

bool

bool close_pdi(int $doc)

No description

Parameters

int $doc

Return Value

bool

See also

PDF_close_pdi_document()

bool close_pdi_document(int $doc)

No description

Parameters

int $doc

Return Value

bool

bool close()

No description

Return Value

bool

See also

PDF_end_document

bool closepath_fill_stroke()

No description

Return Value

bool

bool closepath_stroke()

No description

Return Value

bool

bool closepath()

No description

Return Value

bool

bool concat(float $a, float $b, float $c, float $d, float $e, float $f)

No description

Parameters

float $a
float $b
float $c
float $d
float $e
float $f

Return Value

bool

bool continue_text(string $text)

No description

Parameters

string $text

Return Value

bool

int create_3dview(string $username, string $optlist)

No description

Parameters

string $username
string $optlist

Return Value

int

int create_action(string $type, string $optlist)

No description

Parameters

string $type
string $optlist

Return Value

int

bool create_annotation(float $llx, float $lly, float $urx, float $ury, string $type, string $optlist)

No description

Parameters

float $llx
float $lly
float $urx
float $ury
string $type
string $optlist

Return Value

bool

int create_bookmark(string $text, string $optlist)

No description

Parameters

string $text
string $optlist

Return Value

int

bool create_field(float $llx, float $lly, float $urx, float $ury, string $name, string $type, string $optlist)

No description

Parameters

float $llx
float $lly
float $urx
float $ury
string $name
string $type
string $optlist

Return Value

bool

bool create_fieldgroup(string $name, string $optlist)

No description

Parameters

string $name
string $optlist

Return Value

bool

int create_gstate(string $optlist)

No description

Parameters

string $optlist

Return Value

int

bool create_pvf(string $filename, string $data, string $optlist)

No description

Parameters

string $filename
string $data
string $optlist

Return Value

bool

int create_textflow(string $text, string $optlist)

No description

Parameters

string $text
string $optlist

Return Value

int

bool curveto(float $x1, float $y1, float $x2, float $y2, float $x3, float $y3)

No description

Parameters

float $x1
float $y1
float $x2
float $y2
float $x3
float $y3

Return Value

bool

int define_layer(string $name, string $optlist)

No description

Parameters

string $name
string $optlist

Return Value

int

int delete_pvf(string $filename)

No description

Parameters

string $filename

Return Value

int

bool delete_table(int $table, string $optlist)

No description

Parameters

int $table
string $optlist

Return Value

bool

bool delete_textflow(int $textflow)

No description

Parameters

int $textflow

Return Value

bool

bool delete()

No description

Return Value

bool

bool encoding_set_char(string $encoding, int $slot, string $glyphname, int $uv)

No description

Parameters

string $encoding
int $slot
string $glyphname
int $uv

Return Value

bool

bool end_document(string $optlist)

No description

Parameters

string $optlist

Return Value

bool

bool end_font()

No description

Return Value

bool

bool end_glyph()

No description

Return Value

bool

bool end_item(int $id)

No description

Parameters

int $id

Return Value

bool

bool end_layer()

No description

Return Value

bool

bool end_page_ext(string $optlist)

No description

Parameters

string $optlist

Return Value

bool

bool end_page()

No description

Return Value

bool

bool end_pattern()

No description

Return Value

bool

bool end_template()

No description

Return Value

bool

bool endpath()

No description

Return Value

bool

int fill_imageblock(int $page, string $blockname, int $image, string $optlist)

No description

Parameters

int $page
string $blockname
int $image
string $optlist

Return Value

int

int fill_pdfblock(int $page, string $blockname, int $contents, string $optlist)

No description

Parameters

int $page
string $blockname
int $contents
string $optlist

Return Value

int

bool fill_stroke()

No description

Return Value

bool

int fill_textblock(int $page, string $blockname, string $text, string $optlist)

No description

Parameters

int $page
string $blockname
string $text
string $optlist

Return Value

int

bool fill()

No description

Return Value

bool

int findfont(string $fontname, string $encoding, int $embed)

No description

Parameters

string $fontname
string $encoding
int $embed

Return Value

int

bool fit_image(int $image, float $x, float $y, string $optlist)

No description

Parameters

int $image
float $x
float $y
string $optlist

Return Value

bool

bool fit_pdi_page(int $page, float $x, float $y, string $optlist)

No description

Parameters

int $page
float $x
float $y
string $optlist

Return Value

bool

string fit_table(int $table, float $llx, float $lly, float $urx, float $ury, string $optlist)

No description

Parameters

int $table

A valid table handle retrieved with a call to PDF_add_table_cell()

float $llx

X Coordinate of the lower left corner of the target rectangle for the table instance (the fitbox) in user coordinates.

float $lly

Y Coordinate of the lower left corner of the target rectangle for the table instance (the fitbox) in user coordinates.

float $urx

X Coordinate of the upper right corner of the target rectangle for the table instance (the fitbox) in user coordinates.

float $ury

Y Coordinate of the upper right corner of the target rectangle for the table instance (the fitbox) in user coordinates.

string $optlist

An option list specifying filling details according to Table 5.18.

Return Value

string

A string which specifies the reason for returning from the function

string fit_textflow(int $textflow, float $llx, float $lly, float $urx, float $ury, string $optlist)

No description

Parameters

int $textflow
float $llx
float $lly
float $urx
float $ury
string $optlist

Return Value

string

bool fit_textline(string $text, float $x, float $y, string $optlist)

No description

Parameters

string $text
float $x
float $y
string $optlist

Return Value

bool

string get_apiname()

No description

Return Value

string

string get_buffer()

No description

Return Value

string

string get_errmsg()

No description

Return Value

string

int get_errnum()

No description

Return Value

int

int get_majorversion()

No description

Return Value

int

int get_minorversion()

No description

Return Value

int

float get_option(string $keyword, string $optlist)

No description

Parameters

string $keyword
string $optlist

Return Value

float

string get_parameter(string $key, float $modifier)

No description

Parameters

string $key
float $modifier

Return Value

string

string get_pdi_parameter(string $key, int $doc, int $page, int $reserved)

No description

Parameters

string $key
int $doc
int $page
int $reserved

Return Value

string

float get_pdi_value(string $key, int $doc, int $page, int $reserved)

No description

Parameters

string $key
int $doc
int $page
int $reserved

Return Value

float

float get_string(string $keyword, string $optlist)

No description

Parameters

string $keyword
string $optlist

Return Value

float

float get_value(string $key, float $modifier)

No description

Parameters

string $key
float $modifier

Return Value

float

float info_font(int $font, string $keyword, string $optlist)

No description

Parameters

int $font
string $keyword
string $optlist

Return Value

float

float info_image(int $image, string $keyword, string $optlist)

No description

Parameters

int $image
string $keyword
string $optlist

Return Value

float

float info_matchbox(string $boxname, int $num, string $keyword)

No description

Parameters

string $boxname
int $num
string $keyword

Return Value

float

float info_graphics(int $graphics, string $keyword, string $optlist)

No description

Parameters

int $graphics
string $keyword
string $optlist

Return Value

float

float info_path(int $path, string $keyword, string $optlist)

No description

Parameters

int $path
string $keyword
string $optlist

Return Value

float

float info_pdi_page($page, string $keyword, string $optlist)

No description

Parameters

$page
string $keyword
string $optlist

Return Value

float

float info_pvf(string $filename, string $keyword)

No description

Parameters

string $filename
string $keyword

Return Value

float

float info_table(int $table, string $keyword)

No description

Parameters

int $table
string $keyword

Return Value

float

float info_textflow(int $textflow, string $keyword)

No description

Parameters

int $textflow
string $keyword

Return Value

float

float info_textline(string $text, string $keyword, string $optlist)

No description

Parameters

string $text
string $keyword
string $optlist

Return Value

float

bool initgraphics()

No description

Return Value

bool

bool lineto(float $x, float $y)

No description

Parameters

float $x
float $y

Return Value

bool

int load_3ddata(string $filename, string $optlist)

No description

Parameters

string $filename
string $optlist

Return Value

int

int load_font(string $fontname, string $encoding, string $optlist)

No description

Parameters

string $fontname
string $encoding
string $optlist

Return Value

int

int load_iccprofile(string $profilename, string $optlist)

No description

Parameters

string $profilename
string $optlist

Return Value

int

int load_image(string $imagetype, string $filename, string $optlist)

No description

Parameters

string $imagetype
string $filename
string $optlist

Return Value

int

int makespotcolor(string $spotname)

No description

Parameters

string $spotname

Return Value

int

bool moveto(float $x, float $y)

No description

Parameters

float $x
float $y

Return Value

bool

int open_ccitt(string $filename, int $width, int $height, int $BitReverse, int $k, int $Blackls1)

No description

Parameters

string $filename
int $width
int $height
int $BitReverse
int $k
int $Blackls1

Return Value

int

bool open_file(string $filename)

No description

Parameters

string $filename

Return Value

bool

int open_image_file(string $imagetype, string $filename, string $stringparam, int $intparam)

No description

Parameters

string $imagetype
string $filename
string $stringparam
int $intparam

Return Value

int

int open_image(string $imagetype, string $source, string $data, int $length, int $width, int $height, int $components, int $bpc, string $params)

No description

Parameters

string $imagetype
string $source
string $data
int $length
int $width
int $height
int $components
int $bpc
string $params

Return Value

int

int open_memory_image(resource $image)

No description

Parameters

resource $image

Return Value

int

int open_pdi_document(string $filename, string $optlist)

No description

Parameters

string $filename
string $optlist

Return Value

int

int open_pdi_page(int $doc, int $pagenumber, string $optlist)

No description

Parameters

int $doc
int $pagenumber
string $optlist

Return Value

int

int open_pdi(string $filename, string $optlist, int $len)

No description

Parameters

string $filename
string $optlist
int $len

Return Value

int

float pcos_get_number(int $doc, string $path)

No description

Parameters

int $doc
string $path

Return Value

float

string pcos_get_stream(int $doc, string $optlist, string $path)

No description

Parameters

int $doc
string $optlist
string $path

Return Value

string

string pcos_get_string(int $doc, string $path)

No description

Parameters

int $doc
string $path

Return Value

string

bool place_image(int $image, float $x, float $y, float $scale)

No description

Parameters

int $image
float $x
float $y
float $scale

Return Value

bool

bool place_pdi_page(int $page, float $x, float $y, float $sx, float $sy)

No description

Parameters

int $page
float $x
float $y
float $sx
float $sy

Return Value

bool

bool set_option(string $optlist)

No description

Parameters

string $optlist

Return Value

bool

int process_pdi(int $doc, int $page, string $optlist)

No description

Parameters

int $doc
int $page
string $optlist

Return Value

int

bool rect(float $x, float $y, float $width, float $height)

No description

Parameters

float $x
float $y
float $width
float $height

Return Value

bool

bool restore()

No description

Return Value

bool

bool resume_page(string $optlist)

No description

Parameters

string $optlist

Return Value

bool

bool rotate(float $phi)

No description

Parameters

float $phi

Return Value

bool

bool save()

No description

Return Value

bool

bool scale(float $sx, float $sy)

No description

Parameters

float $sx
float $sy

Return Value

bool

bool set_border_color(float $red, float $green, float $blue)

No description

Parameters

float $red
float $green
float $blue

Return Value

bool

bool set_border_dash(float $black, float $white)

No description

Parameters

float $black
float $white

Return Value

bool

bool set_border_style(string $style, float $width)

No description

Parameters

string $style
float $width

Return Value

bool

bool set_gstate(int $gstate)

No description

Parameters

int $gstate

Return Value

bool

bool set_info(string $key, string $value)

No description

Parameters

string $key
string $value

Return Value

bool

bool set_layer_dependency(string $type, string $optlist)

No description

Parameters

string $type
string $optlist

Return Value

bool

bool set_parameter(string $key, string $value)

No description

Parameters

string $key
string $value

Return Value

bool

bool set_text_pos(float $x, float $y)

No description

Parameters

float $x
float $y

Return Value

bool

bool set_value(string $key, float $value)

No description

Parameters

string $key
float $value

Return Value

bool

bool setcolor(string $fstype, string $colorspace, float $c1, float $c2, float $c3, float $c4)

No description

Parameters

string $fstype
string $colorspace
float $c1
float $c2
float $c3
float $c4

Return Value

bool

bool setdash(float $b, float $w)

No description

Parameters

float $b
float $w

Return Value

bool

bool setdashpattern(string $optlist)

No description

Parameters

string $optlist

Return Value

bool

bool setflat(float $flatness)

No description

Parameters

float $flatness

Return Value

bool

bool setfont(int $font, float $fontsize)

No description

Parameters

int $font
float $fontsize

Return Value

bool

bool setgray_fill(float $g)

No description

Parameters

float $g

Return Value

bool

bool setgray_stroke(float $g)

No description

Parameters

float $g

Return Value

bool

bool setgray(float $g)

No description

Parameters

float $g

Return Value

bool

bool setlinecap(int $linecap)

No description

Parameters

int $linecap

Return Value

bool

bool setlinejoin(int $value)

No description

Parameters

int $value

Return Value

bool

bool setlinewidth(float $width)

No description

Parameters

float $width

Return Value

bool

bool setmatrix(float $a, float $b, float $c, float $d, float $e, float $f)

No description

Parameters

float $a
float $b
float $c
float $d
float $e
float $f

Return Value

bool

bool setmiterlimit(float $miter)

No description

Parameters

float $miter

Return Value

bool

bool setrgbcolor_fill(float $red, float $green, float $blue)

No description

Parameters

float $red
float $green
float $blue

Return Value

bool

bool setrgbcolor_stroke(float $red, float $green, float $blue)

No description

Parameters

float $red
float $green
float $blue

Return Value

bool

bool setrgbcolor(float $red, float $green, float $blue)

No description

Parameters

float $red
float $green
float $blue

Return Value

bool

int shading_pattern(int $shading, string $optlist)

No description

Parameters

int $shading
string $optlist

Return Value

int

int shading(string $shtype, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist)

No description

Parameters

string $shtype
float $x0
float $y0
float $x1
float $y1
float $c1
float $c2
float $c3
float $c4
string $optlist

Return Value

int

bool shfill(int $shading)

No description

Parameters

int $shading

Return Value

bool

int show_boxed(string $text, float $left, float $top, float $width, float $height, string $mode, string $feature)

No description

Parameters

string $text
float $left
float $top
float $width
float $height
string $mode
string $feature

Return Value

int

bool show_xy(string $text, float $x, float $y)

No description

Parameters

string $text
float $x
float $y

Return Value

bool

bool show(string $text)

No description

Parameters

string $text

Return Value

bool

bool skew(float $alpha, float $beta)

No description

Parameters

float $alpha
float $beta

Return Value

bool

float stringwidth(string $text, int $font, float $fontsize)

No description

Parameters

string $text
int $font
float $fontsize

Return Value

float

bool stroke()

No description

Return Value

bool

bool suspend_page(string $optlist)

No description

Parameters

string $optlist

Return Value

bool

bool translate(float $tx, float $ty)

No description

Parameters

float $tx
float $ty

Return Value

bool

string utf16_to_utf8(string $utf16string)

No description

Parameters

string $utf16string

Return Value

string

string utf32_to_utf16(string $utf32string, string $ordering)

No description

Parameters

string $utf32string
string $ordering

Return Value

string

string utf8_to_utf16(string $utf8string, string $ordering)

No description

Parameters

string $utf8string
string $ordering

Return Value

string