fg_copypage()Win32 DirectX Fastgraph/Light Prototype void fg_copypage (int source, int dest); Sub fg_copypage (ByVal source As Long, ByVal dest As Long) procedure fg_copypage (source, dest : integer); Description The fg_copypage() function transfers the contents of one virtual buffer to another virtual buffer with the same dimensions. Assuming maxx and maxy represent the maximum x and y coordinates of the virtual buffers, the call fg_copypage(source,dest); is equivalent to fg_vbcopy(0,maxx,0,maxy,0,maxy,source,dest); Parameters source is the source virtual buffer handle. dest is the destination virtual buffer handle. Return value none Restrictions The source and destination virtual buffers must have the same color depth and same dimensions. If they have the same color depth but not the same dimensions, use fg_vbcopy() instead of fg_copypage(). When using DirectX, the source or destination virtual buffers must not be locked. See also Examples
|
 
copyright 2001 Ted Gruber Software, Inc.