Article View: comp.windows.interviews
Article #654Re: Pin-Pad Connection Question(Unidraw)
From: John Vlissides
Date: Mon, 12 Oct 1992 18:22
Date: Mon, 12 Oct 1992 18:22
23 lines
1670 bytes
1670 bytes
In article <BvxEEy.I22@usenet.ucs.indiana.edu>, you write: > I am confused by the pin-pad connection! I have a floating pin > connected to a fixed pad, but when I tried to move the pin within the > pad boundary, the move fails(It always go back to the original position). > Isn't the pin supposed to stay at the new position, as long as it is within > the pad boundary? Thanks in advance for any help!! The current implementation requires some "tension" (via CGlue) on the pin to keep it from falling back to its rest position in the pad or slot. If you're implementing boxes-and-arrows connectivity, then you might define a link-like component that interposes a piece of only slightly elastic CGlue between its two pins. When you connect one of the link's pins to the pad, the glue will keep the pins as close together as possible, thereby drawing the pin away from the rest position. The latest version of drawing demonstrates how this is done with a slightly modified version of LinkComp. You can ftp it from interviews.stanford.edu in pub/contrib/drawing-3.1b.tar.Z. -- John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
Technical Details
Message-ID:
<9210121822.AA24282@aurora.watson.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!agate!stanford.edu!WATSON.IBM.COM!vlisShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!agate!stanford.edu!WATSON.IBM.COM!vlis From: vlis@WATSON.IBM.COM (John Vlissides) Subject: Re: Pin-Pad Connection Question(Unidraw) Message-ID: <9210121822.AA24282@aurora.watson.ibm.com> Sender: news@shelby.stanford.edu (USENET News System) Reply-To: vlis@watson.ibm.com Organization: Internet-USENET Gateway at Stanford University Date: Mon, 12 Oct 1992 18:22:30 GMT Lines: 23