Calls BltBitMap() after accounting for windows
Source position: agraphics.pas line 2072
procedure ClipBlit( |
SrcRp: PRastPort; |
XSrc: LongInt; |
YSrc: LongInt; |
DestRp: PRastPort; |
XDest: LongInt; |
YDest: LongInt; |
XSize: LongInt; |
YSize: LongInt; |
MinTerm: LongWord |
); |
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. |