[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 905294] Re: Feature * scheme-api * pointer-position function should return snapped coordinates if requested.



Hi Luigi,

Sorry for not getting back to you sooner -- I've been travelling and
working on other stuff.  Please check if the patch I've just committed
gives you the functionality you need; for example:

  (snap-point (pointer-position))

will return the current mouse pointer position snapped to the grid.

Peter

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/905294

Title:
  Feature * scheme-api * pointer-position function should return snapped
  coordinates if requested.

Status in GPL Electronic Design Automation tools:
  Confirmed

Bug description:
  It could be usefull if the pointer-position function returns the
  current coordinates of the mouse pointer snapped to the grid if
  requested.

  I think two alternative solutions can be take in consideration:
  1) make a new function (i.e. "snapped-pointer-position") to do this job, or
  2) using the current function with an optional argument to do that.

  In the patch in attachment i opted for the second choice.

  Thanks,
  Luigi

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/905294/+subscriptions


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug