[Previous] [Next] [Up] [Home] S3D Pascal Bindings
S3DTK_BitBlt
Copy a rectangular area from one surface to another.
Method of:
TS3DTK_FUNCTION_LISTSyntax:
S3DTK_BitBlt: function(
pFuncStruct: Pointer;
pDestSurface: TS3DTK_LPSURFACE;
pDestRect: TS3DTK_LPRECTAREA;
pSrcSurface: TS3DTK_LPSURFACE;
pSrcRect: TS3DTK_LPRECTAREA): ULONG; cdecl;
Parameters:
- pFuncStruct - Pointer to the TS3DTK_FUNCTION_LIST that contains this method.
- pDestSurface - Pointer to TS3DTK_SURFACE for the destination surface. The destination surface must be in video memory.
- pDestRect - Pointer to a TS3DTK_RECTAREA for the area in the destination surface to write to.
- pSrcSurface - Pointer to a TS3DTK_SURFACE for the source surface.
- pSrcRect - Pointer to a TS3DTK_RECTAREA for the area in the source surface to copy from.
Returns:
S3DTK_OK if successful, S3DTK_ERR otherwise.
Limitations:
Both surfaces must have the same pixel format and size. Also the destination surface must be in video memory.
Unit: S3DTK
See Also:
S3DTK_BitBltTransparent (in TS3DTK_FUNCTION_LIST)
[Previous] [Next] [Up] [Home] S3D Pascal Bindings