Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!think!ames!oliveb!amiga!boing!dale From: dale@boing.UUCP (Dale Luck) Newsgroups: comp.sys.amiga.tech Subject: Re: bitmaps with intuition... Message-ID: <337@boing.UUCP> Date: 18 Jun 88 16:24:17 GMT References: <4370@gryphon.CTS.COM> <3170@charon.unm.edu> <56215@sun.uucp> <6261@well.UUCP> <56628@sun.uucp> <6313@well.UUCP> Reply-To: dale@boing.UUCP (Dale Luck) Organization: Boing, Milpitas, Ca. Lines: 18 One way to get right at the bits of a window, indirectly :) is to create another bitmap and blit from the window to the offscree bitmap. You will need to allocate your bit, initialize a bitmap, allocate and initialize a rastport and then call ClipBlit(window->RPort,NewRastPort) and then you will have all the bits extracted from the different places of overlapping areas, wherever the window was on the shared screen assembled in the NewRastPort's bitmap. You can then play with those bits as you like, when done send them back to the windows RPort. Note that you need to be careful about the stuff intuition puts in your borders though. Dale -- Dale Luck Boing, Inc. Although I do contract work for Amiga-LosGatos, my opinions probably don't represent those of Commodore or its management or its engineers, but I think the world would be a better place if they did.