Calls BltBitMap() after accounting for windows
Source position: agraphics.pas line 2134
procedure ClipBlit( |
SrcRP: PRastPort; |
xSrc: LongInt; |
ySrc: LongInt; |
DestRP: PRastPort; |
xDest: LongInt; |
yDest: LongInt; |
xSize: LongInt; |
ySize: LongInt; |
MinTerm: Byte |
); |
SrcRP |
|
A pointer to the RastPort of the source for your blit |
xSrc |
|
The left offset into Src for your data |
ySrc |
|
The top offset into Src for your data |
DestRP |
|
A pointer to the RastPort to receive the blitted data |
xDest |
|
The left offset into the destination RastPort |
yDest |
|
The top 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. see BltBitMap |
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.
|
Move a rectangular region of bits in a BitMap. |