[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.



A commit was made which affects this bug
git master commit 6fac0c0f99b51a845f8ab7be2c358f703a54d61f
http://git.gpleda.org/?p=gaf.git;a=commit;h=6fac0c0f99b51a845f8ab7be2c358f703a54d61f

commit 6fac0c0f99b51a845f8ab7be2c358f703a54d61f
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    scheme-api: Add 'snap-point' function to (gschem window) module.
    
    The snap-point function returns the closest on-grid position to a
    given point. Suggested by Luigi Palese.
    
    Affects-bug: lp-905294

-- 
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