🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10081

Re: BltMaskBitMapRastPort() HELP!!!

#10081
From: Barry A. Whitebook
Date: Fri, 21 Oct 1988 16:28
56 lines
2259 bytes
) astroatc!jojo rightly points out that the current RKM does not have this
) autodoc: for those of you who dont have the 1.2 enhancer documentation,
) here it is...

/****** graphics.library/BltMaskBitMapRastPort ********************************
*
*   NAME
*
*   	BltMaskBitMapRastPort -- blit from source bitmap to destination rastport
*				with masking of source image.
*
*   SYNOPSIS
*
*	BltMaskBitMapRastPort
*	    (srcbm,srcx,srcy,destrp,destX,destY,sizeX,sizeY,minterm,bltmask)
*	     a0    d0   d1   a1     d2    d3    d4    d5    d6      a2 
*
*	struct BitMap *srcbm;
*	SHORT srcx,srcy;
*	struct RastPort *destrp;
*	SHORT destX,destY;
*	SHORT sizeX,sizeY;
*	UBYTE	minterm;
*	APTR	bltmask;	* chip memory *
*
*   FUNCTION
*	Blits from source bitmap to position specified in destination rastport	
*	using bltmask to determine where source overlays destination, and 
*	minterm to determine whether to copy the source image "as is" or
*	to "invert" the sense of the source image when copying. In either
*	case, blit only occurs where the mask is non-zero.	
*
*
*   INPUTS
*	srcbm - a pointer to the source bitmap
*	srcx  - x offset into source bitmap
*	srcy  - y offset into source bitmap
*	destrp - a pointer to the destination rastport
*	destX - x offset into dest rastport
*	destY - y offset into dest rastport
*	sizeX - width of blit in pixels
*	sizeY - height of blit in rows 
*	minterm - either (ABC|ABNC|ANBC) if copy source and blit thru mask
*		  or     (ANBC)        if invert source and blit thru mask
*	bltmask - pointer to the single bit-plane mask, which must be the
*		  same size and dimensions as the planes of the
*		  source bitmap.
*
*   RETURNS
*
*   BUGS
*
*   SEE ALSO
*   BltBitMapRastPort	graphics/gfx.h graphics/rastport.h
*
******************************************************************************/
Technical Details
Message-ID: <3043@amiga.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!oliveb!amiga!bart

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!oliveb!amiga!bart
From: bart@amiga.UUCP (Barry A. Whitebook)
Newsgroups: comp.sys.amiga.tech
Subject: Re: BltMaskBitMapRastPort() HELP!!!
Message-ID: <3043@amiga.UUCP>
Date: 21 Oct 88 16:28:56 GMT
Reply-To: bart@popeye.UUCP (Barry A. Whitebook)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 56