GetBitmapSys

Copy a block of video memory to a location in system memory.

Declaration

void NAPI GA_2DRenderFuncs::GetBitmapSys(
    void *dstAddr,
    N_int32 dstPitch,
    N_int32 srcLeft,
    N_int32 srcTop,
    N_int32 width,
    N_int32 height,
    N_int32 dstLeft,
    N_int32 dstTop,
    N_int32 mix)

Prototype In

snap/graphics.h

Parameters

dstAddr

Address of destination bitmap in system memory

dstPitch

Pitch of destination bitmap in bytes

srcLeft

Left coordinate within source bitmap to copy

srcTop

Top coordinate within source bitmap to copy

width

Width of the rectangle in pixels

height

Height of the rectangle in scanlines

dstLeft

Left coordinate of destination

dstTop

Top coordinate of destination

mix

Mix code for the copy (GA_mixCodesType)

 

Description

This routine will copy a bitmap from video memory to system memory with a starting address of dstAddr from the source rectangle (srcLeft, srcTop, srcLeft+width-1, srcTop+height-1).

See Also

BitBlt, WaitTillIdle, GetBitmapBM

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com