[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
    YSize        = the height of the blit
    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();