Image_Canvas_PS Image_Canvas_PS(
array
$param)
|
|
Create the PostScript canvas.
Parameters available:
'page' Specify the page/paper format for the graph's page, available formats are: A0, A1, A2, A3, A4, A5, A6, B5, letter, legal, ledger, 11x17, cd_front, inlay, inlay_nosides
'align' Alignment of the graph on the page, available options are: topleft, topcenter, topright, leftcenter, center, rightcenter, leftbottom, centerbottom, rightbottom
'orientation' Specifies the paper orientation, default is 'portrait' and 'landscape' is also supported.
'creator' The creator tag of the PostScript/graph
'author' The author tag of the PostScript/graph
'title' The title tag of the PostScript/graph
'width' The width of the graph on the page
'height' The height of the graph on the page
'left' The left offset of the graph on the page
'top' The top offset of the graph on the page
'filename' The PostScript file to open/add page to, using 'filename' requires 'ps' An existing pslib PostScript document to add the page to
'add_page' (true/false) Used together with 'ps', to specify whether the canvas should add a new graph page (true) or create the graph on the current page (false), default is 'true'
The 'page' and 'width' & 'height' can be mutually omitted, if 'page' is omitted the page is created using dimensions of width x height, and if width and height are omitted the page dimensions are used for the graph.
If 'ps' is specified, 'filename', 'creator', 'author' and 'title' has no effect.
'left' and 'top' are overridden by 'align'
It is required either to specify 'width' & 'height' or 'page'.
The PostScript format/pslib has some limitations on the capabilities, which means some functionality available using other canvass (fx. alpha blending and gradient fills) are not supported with PostScript (see Canvas.txt in the docs/ folder for further details)
Parameters: