Full-Buffer Block TransferIn the previous section, we showed how to use fg_vbcopy() to transfer the entire contents of one 320x240 virtual buffer to another 320x240 virtual buffer. Copying one virtual buffer to another is such a common operation that Fastgraph includes a special function specifically optimized for this purpose:
C/C++ and Delphi:
Visual Basic:
As you might guess, the two fg_copypage() parameters specify the source and destination virtual buffer handles. These two virtual buffers must be the same size and have the same color depth; if they aren't the same size, use fg_vbcopy().
|
 
copyright 2001 Ted Gruber Software, Inc.