7.5

Table Of Contents
of origin within the boundaries of the object.
Syntax
translate( x, y )
Arguments
x, y
Measure values representing the horizontal/vertical offset, in inches, of the new point of origin within the object. These values
are relative to the current point of origin, not absolute.
Code Sample Examples
Example 1
This example moves the point of origin 1 inch right and down from the original point.
translate(1,1)
show('some text')
Example 2
This example moves the point of origin 1 inch right and down from the current point.
translate(1,1)
show('some more text')
Example 3
This example moves the point of origin back to its original position. Translate sets the new point of origin for all subsequent
commands. Consequently, translate commands are cumulative. Therefore, to restore the previous point of origin, you must
issue a translate command that negates whatever offset was previously applied.
translate(-2,-2)
Path
©2010 Objectif Lune Inc - 572 -