File: setgridoffs.html

package info (click to toggle)
librnd 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,812 kB
  • sloc: ansic: 126,990; sh: 2,602; makefile: 2,145; awk: 7
file content (12 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
Changes the grid offset to relative or absolute x_offs and y_offs.
For non-zero values always use units, e.g. SetGrifOffs(0.5mm, 0.1mm).
<p>
The final grid offset alues will be scaled down so they are always between
0 and the current grid size. For example with a 25 mil grid, a value of
7mil will be taken as 7mil offset, but a value of 27 mil will be taken
as a 2mil offset.
<p>
If an offset starts with + or -, it is taken as relative, which means it
is added to the current offset value.