🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2023

Re: Automatic window clipping

#2023
From: owl
Date: Tue, 07 Nov 1989 22:25
27 lines
1512 bytes
In article <12540@cit-vax.Caltech.Edu>, bdiscoe@tybalt.caltech.edu (Ben W. Discoe) writes:
> [...]
> However, when I start to draw line WAY off the screen (>several thousand
> pixels) two things start happening:
> 
> 	1) the lines become jagged when they appear on the screen
> 	2) eventually the machine dies or the program freezes in a state
> 	   of intense CPU usage.

I had the same thing happen, in a function drawing program ...

>     I realize what I should do is test the endpoints of each line I draw
> and not draw the ones too far off, however, I'd like to know a few things:
> 
> 	1) What are the exact limits to the gfx lib clipping?
> 	2) Does is make a difference if the number you pass "Draw()"
> 	   is great than a WORD variable will allow?

Yes ... If you keep your values inside the limits for a WORD all will work
well.

> I couldn't find anything in the RKMs about this and I hope it isn't a
> case of RTFM.   Thanks much,
> 		Ben "struggling starving student stereotype"

David Gay
Now at: dg3i+@andrew.cmu.edu after hopping across the pond ...
Technical Details
Message-ID: <80.25571001@drycas.club.cc.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!drycas!owl
References: <12540@cit-vax.Caltech.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!pt.cs.cmu.edu!drycas!owl
From: owl@drycas.club.cc.cmu.edu
Newsgroups: comp.sys.amiga.tech
Subject: Re: Automatic window clipping
Message-ID: <80.25571001@drycas.club.cc.cmu.edu>
Date: 7 Nov 89 22:25:21 GMT
References: <12540@cit-vax.Caltech.Edu>
Distribution: usa
Organization: Computer Club, Carnegie-Mellon University
Lines: 27