delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/18/21:17:29

From: "Gautam N. Lad" <gautam AT interlog DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: GRID and SNAP for Mouse
Date: 18 Jan 1997 16:57:41 GMT
Organization: InterLog Internet Services
Lines: 27
Message-ID: <5bqve5$9db@news.interlog.com>
NNTP-Posting-Host: ip220-177.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
Is it possible to make the mouse snap on pixels.  What I mean, is
the mouse usually moves around smoothly, but what if I wanted to
have a grid, say 10x10, and the mouse to move from pixel 1 to pixel
10?  
What I'm basically saying is I want to have a snap effect, on a 
grid.  Equivalent to many CAD programs such as AutoCAD that have
the Snap function (F9).

I'm using DJGPP v2.00 and GRX v2.0.


Any suggestions?

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