Blends an alpha mask into a rectangular area into the target RastPort. (v51)
Source position: cybergraphics.pas line 324
procedure BltTemplateAlpha( |
source: pWORD; |
xSrc: LongInt; |
srcMod: LongInt; |
destRP: PRastPort; |
xDest: LongInt; |
yDest: LongInt; |
xSize: LongInt; |
ySize: LongInt |
); |
source |
|
pointer to the alpha 8bit mask array. |
xSrc |
|
x offset into the alpha mask |
srcMod |
|
number of bytes per row in alpha mask array. |
destRP |
|
pointer to destination RastPort. |
xDest |
|
x coordinate of the upper left corner of the destination for the blit. |
yDest |
|
y coordinate of the upper left corner of the destination for the blit. |
xSize |
|
Width of the rectangle to be used as the template. |
ySize |
|
Height of the rectangle to be used as the template. |
This function blends the alpha image in the template into the RastPort using the current color and drawing mode at the specified position. The alpha template is assumed not to overlap the destination.
If the alpha template falls outside the RastPort boundary, it is truncated to that boundary.