delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/25/17:25:57

From: "Gautam N. Lad" <gautam AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GRID and SNAP for Mouse
Date: 25 Jan 1997 15:38:12 GMT
Organization: InterLog Internet Services
Lines: 27
Message-ID: <5cd9d4$i94@news.interlog.com>
References: <Pine DOT LNX DOT 3 DOT 93 DOT 970120075559 DOT 8267A-100000 AT capslock DOT com> <5cahbu$cl8 AT tron DOT sci DOT fi>
NNTP-Posting-Host: ip203-177.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

> Actually, do integer divsion by 10 and then integer multipliction by 10...
> this way mouse will move exactly as fast as without snap.
> 
> If you wan't to do something like in CAD programs, you will not want to do
> it this way, tho...
> 
> Aatu Koskensilta aka Sqrt(-1)   (zaphod AT sci DOT fi)
> www.sci.fi/~zaphod

Can you give me an example or functions that will help me achieve
this?  I'd love to see it.

Thanks!
Bye!
****************************************************
* Gautam N. Lad                                    *
*--------------------------------------------------*
*                                                  *
* E-Mail	: gautam AT interlog DOT com              *
* Website	: http://www.interlog.com/~gautam  *
*                                                  *
* OS/2, DOS/Windows, Graphics Gallery, Software,   *
* Links, Rayzor Editor/2, POV-Ray,  and more.      *
****************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019