Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!cs.utexas.edu!vixen!joe From: joe@vixen.uucp (Joe Hitchens) Newsgroups: comp.sys.amiga.tech Subject: BltMaskBitMap function needed Message-ID: <254@vixen.uucp> Date: 2 Feb 89 23:26:33 GMT Reply-To: joe@vixen.UUCP (Joe Hitchens) Organization: Ron's House, Austin TX Lines: 25 I need source code for a function to blit from a source BitMap to a destination BitMap through a mask. What would be perfect is one that is identical to BltMaskBitMapRastPort() except that instead of the destination being a RastPort, the destination is a BitMap. If some kind soul has done this and is willing to part with his code, I would be tremendously grateful. Or alternatively, I could use BltMaskBitMapRastPort() if I knew that there was no significantly greater overhead in using it, when the RastPort in question was allocated and initialized by my own code, i.e., not attached to a Window, I allocated the RastPort & BitMap structures, and Raster data myself. I know that a Window's RastPort means that clipping will be done, and that means slower performance. If I built the RastPort myself without attaching any Layer info to it, will it still be much slower than blitting to a BitMap? I want to handle the clipping myself. Thanks in advance. j.h. -- joe@vixen.uucp Artist, Sculptor, Animator of Sculpture, Iconologist Adept (Play Mechanoids!)