Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!uflorida!kluge!serss0!acmfiu From: acmfiu@serss0.fiu.edu (ACMFIU) Newsgroups: comp.sys.apple2 Subject: Re: windows, modems and /bin/share... Message-ID: <3588@kluge.fiu.edu> Date: 18 May 91 12:54:32 GMT References: <9105151708.AA15055@apple.com> Sender: news@kluge.fiu.edu Organization: Florida International University, Miami Lines: 45 In article <9105151708.AA15055@apple.com> JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") writes: ]On Tue, 14 May 91 09:26:00 CDT MR.FANTASTIC said: ]] Ah, it makes very much sence. I must have read over the section when I was ]]tired. Am I correct in assuming that you can draw to a Grafport before it is ]]displayed on the screen. Thus increasing the speed of screen updates? ] ]Well don't get me wrong... there's a bit more to grafports than my ]simple explination, but I thought that kind of got the basic idea ]across. Yes, you can have "offscreen" grafports. You can do all your ]drawing to the offscreen grafport and nothing will happen on the screen. ]Then, later when you want it to appear on the screen, you can do a ]quick PPToPort to copy your offscreen port to a visible one. This is ]like a caching mechanism. do you want to explain what "quick PPToPort" means. if you ask me, PPToPort is very slow when it comes to large grafports. do you think ScrollRect is "quick" also? i sure hope not. i generally use PPToPort on small rectangular regions i want to copy. i have a window onscreen and in the UserField of the grafport of this window i have a pointer to the grafport of my off-screen grafport (see, local variables :). quickdraw does draw faster to off-screen grafports because it doesn't have to do the 2/4-bit conversion when drawing stuff on-screen (did i get this right dave?). i'm going to write my own ScrollRect and PPToPort (not *real* versions but will do what i want) within the next week. after i have some people take a look at the code (i want it *real* fast), i'll post it. ]]Robert ]]****************************************************************************** ]]* ]]Real: Robert Brown * Profanity is the one language all ]]Academic Computing Services Lab Manager * programmers know best. ]]Bitnet: RXBROWN@UALR * I speak for me, myself, and I!! ]]AOL: ROBPHD * Tires and tax not included,void where ]]Apple //GS the power to be your best. * prohibited. Member FDIC............. ]]****************************************************************************** ]]* ] ]-- ]===> Josef W. Wankerl, Technical Editor for GS+ Magazine ] BITNET: JWANKERL@UTCVM.BITNET | America Online: JWankerl ] ProLine: jwankerl@pro-gsplus |-------------------------------- ]Internet: jwankerl@pro-gsplus.cts.com | "I am a Viking" -Y. Malmsteen