- point-move point dx dyprocedure
- point-move! point dx dy #!optional destprocedure
Efficiently move point by adding the given amounts to its X and Y values. dx and dy must be integers. The results will be clamped to the range -2147483648 to 2147483647.
If dx and dy are already stored in an sdl2:point, it is more efficient and convenient to use point-add or point-sub, instead of extracting the individual fields from the point.
- point-move returns a new managed sdl2:point.
- point-move! modifies and returns dest. If dest is omitted, point is modified and returned.
Requires sdl2 egg 0.2.0 or higher.