7.4

Table Of Contents
Argument
None
Code Sample Example
The first line of code sets the starting point of a triangle, the second and third lines of code draw the first and second lines (or
sides) of the triangle, the fourth line of code closes the triangle shape by implicitly issuing a moveto command.
Example
moveto(1.0,1.0)lineto(1.5,2.0)
lineto(0.5,2.0)
closepath()
fill()
CRLF (procedure)
Moves the current point by simulating a carriage return/line feed combination. The horizontal position is reset to the value of
the current left margin, while the vertical position is offset by the leading value specified.
Syntax
crlf( [leading] )
Argument
leading
Measure value setting the vertical distance, in inches, between two lines. If you do not provide this argument, the value by
default is 0.167 inches, which is roughly equivalent to a 6 LPI (lines per inch) setting.
Code Sample Example
This example demonstrates how to change the vertical spacing of lines within an object.
Example
margin(1,1)
show('These lines are displayed')
crlf(0.125)
show('at 8 LPI.')
crlf(0.5)
show('While these lines are displayed')
crlf(0.5)
show('at 2 LPI')
CurveTo/RCurveTo (procedure)
Creates a Bezier curve. Bezier curves are shapes defined using 4 points: the starting and ending points are physical posi-
tioning points while the second and third points are control points on the curve. In PlanetPress Talk, the starting point is implicit
and automatically set to the current cursor position. The first control point defines the direction the curve takes when moving
©2010 Objectif Lune Inc - 415 -