Article View: comp.sys.amiga.tech
Article #9121Re: bitmaps with intuition...
From: Dale Luck
Date: Sat, 18 Jun 1988 16:24
Date: Sat, 18 Jun 1988 16:24
18 lines
1397 bytes
1397 bytes
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.
Technical Details
Message-ID:
<337@boing.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!think!ames!oliveb!amiga!boing!daleReferences:
<4370@gryphon.CTS.COM> <3170@charon.unm.edu> <56215@sun.uucp> <6261@well.UUCP> <56628@sun.uucp> <6313@well.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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