Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!cbmvax!carolyn From: carolyn@cbmvax.cbm.UUCP (Carolyn Scheppner CATS) Newsgroups: comp.sys.amiga Subject: Re: SUPER_BITMAP Windows Message-ID: <1691@cbmvax.cbmvax.cbm.UUCP> Date: Mon, 20-Apr-87 10:00:44 EST Article-I.D.: cbmvax.1691 Posted: Mon Apr 20 10:00:44 1987 Date-Received: Tue, 21-Apr-87 00:46:59 EST References: <1013@crash.CTS.COM> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 43 In article <1013@crash.CTS.COM> billk@pnet01.CTS.COM (Bill Kelly) writes: >[] > ... so, I decided to open a >SUPER_BITMAP, GIMMEZEROZERO window (in a customscreen) so that I could draw >my text into it's own bitmap without disturbing anybody. The problem is that >I am drawing into the bitmap, but the bitmap isn't being displayed on the >screen. Is there any trick to doing this? ... >[] A SuperBitmap window's own bitplanes are used for off-screen rendering and storage of image when the window is sized. Anything rendered in the displayed portion of a SuperBitmap window is rendered in the SCREEN's bitplanes. There are two graphics.library functions for updating the displayed and non-displayed parts of a SuperBitmap window. These functions should be used within a LockLayerRom() / UnlockLayerRom() pair. 1. SyncSBitMap(layer *) Updates the SuperBitmap's own bitplanes from the displayed portion in the screen's bitmap. This could be used, for instance, to update the SuperBitmaps own bitplanes prior to saving them as an ILBM. Note that the BitMap structure that YOU set up for the SuperBitmap window is NOT the one pointed at by the Window structure. The pointer to that BitMap is stored in window->Layer->SuperBitMap. 2. CopySBitMap(layer *) Updates the visible portion of the SuperBitmap (in SCREEN's bitplanes) from the SuperBitmap window's own bitplanes. This can be used if you have rendered to or cleared the SuperBitmap planes and wish to update the visible display to match it. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=