7.6

Table Of Contents
Scale (procedure)
Scales the result of all commands that follow the scale() command.
Syntax
scale(width, height)
Argument
width
Measure value specifying the factor by which to scale the width.
height
Measure value specifying the factor by which to scale the height.
Code Sample Example
scale( 2,0.5 )
SetAngle (procedure)
This command rotates all subsequent commands by the angle specified. Most commands and objects that are dis-
played/printed on the document are affected by the setangle command.
Syntax
setangle( angle )
Argument
angle
Measure value specifying the angle of rotation in degrees for all subsequent commands. Use a positive value for counter-clock-
wise motion and a negative value for clockwise motion. This value is relative to the current angle, not absolute.
Code Sample Example
This example illustrates setangle().
setangle() sets a rotation for all subsequent commands. Consequently, setangle commands are cumulative. Therefore, to
restore the previous angle of rotation, you must issue a setangle command that negates whatever rotation applied.
Example
setangle(45.00) %Rotate subsequent commands by 45 degrees
show('Some text') %Display at a 45 degree angle
©2010 Objectif Lune Inc - 567 -