Geda3.Coord.snap – Gschem3 Reference Manual
Packages
Gschem3
Geda3
Coord
distance
parse
rotate
snap
snap_ortho
snap
Description:
public
int
snap
(
int
coord,
int
grid)
Snap a coordinate to the nearest grid
Parameters:
coord
the coordinate
grid
the grid size
Returns:
the snapped coordinate
Namespace:
Geda3.Coord
Package:
Gschem3