Name
TranslatePath -- offset a path (V5.0)
Synopsis
TranslatePath(id, dx, dy)
Function
This function can be used to translate a path. Translating means that each vertex in the path is shifted by the specified delta offset. A positive delta offset shifts to the right (or bottom) and a negative delta offset shifts to the left (or top). An offset of 0 does not do anything.

Inputs
id
identifier of path to normalize
dx
amount of delta shift on the x axis
dy
amount of delta shift on the y axis
Example
TranslatePath(1, -100, 150)
The code above shifts path number one 100 pixels to the left and 150 pixels to the bottom.

Show TOC