7.4

Table Of Contents
Argument
message
String value to display in the PlanetPress Talk Messages window.
PassThrough (procedure)
Sends a literal PostScript command to the printer.
Syntax
passthrough( string, [mode])
Argument
string
String value to be sent to the printer. This string is sent as is, with no further modification.
mode
Integer used as a bitfield to specify when to send the passthrough. Use a value of 1 to send the passthrough in PostScript-
printer centric mode only, a value of 2 to send the passthrough in PostScript-Optimized PostScript Stream only, a value of 3 to
send the passthrough in both PostScript-printer centric AND PostScript-Optimized PostScript Stream modes (default behavior if
the parameter is not present), and a value of 4 to send the passthrough in Windows printing mode only.
Code Sample Example
Refer to your PostScript manual for valid commands.
Pie (procedure)
Creates a pie slice shape, which can then be rendered using stroke, fill, or strokeandfill.
Syntax
pie( x, y, radius, startangle, endangle )
Arguments
x, y
Measure values representing the horizontal/vertical position, in inches, of a circle's center representing the whole pie from
which to draw a slice.
radius
Measure value representing the length, in inches, of the segments of the pie, i.e. its radius.
startangle, endangle
Measure values representing the angles, in degrees, of both segments of the pie slice. Values increase counter clock wise,
with 0 extending right from the center of the circle.
Code Sample Example
This example draws a whole pie chart with a shadow effect.
©2010 Objectif Lune Inc - 433 -