[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        ClipBlit  --  Calls bltbitmap() after accounting for windows

   SYNOPSIS
        ClipBlit(Src, SrcX, SrcY, Dest, DestX, DestY, XSize, YSize, Minterm)
                 A0   D0    D1    A1    D2     D3     D4     D5     D6

        void ClipBlit
             (struct rastport *, word, word, struct rastport *, word, word,
              WORD, WORD, UBYTE);

   FUNCTION
        Performs the same function as bltbitmap(), except that it
        takes into account the Layers and ClipRects of the layer library,
        all of which are (and should be) transparent to you.  So, whereas
        bltbitmap() requires pointers to bitmaps, clipblit requires pointers to
        the RastPorts that contain the Bitmaps, Layers, etcetera.

        If you are going to blit blocks of data around via the rastport of your
        Intuition window, you must call this routine (rather than bltbitmap()).

        Either the Src rastport, the dest rastport, both, or neither, can have
        Layers. This routine takes care of all cases.

        See bltbitmap() for a thorough explanation.

   INPUTS
        Src          = pointer to the rastport of the source for your blit
        SrcX, SrcY   = the topleft offset into Src for your data
        Dest         = pointer to the rastport to receive the blitted data
        DestX, DestY = the topleft offset into the destination rastport
        XSize        = the width of the blit (must be ta least 1)
        YSize        = the height of the blit (must be at least 1)
        Minterm      = the boolean blitter function, where SRCB is associated
                       with the Src rastport and srcc goes to the dest rastport

   RESULT

   BUGS

   SEE ALSO
        bltbitmap()