Supported Browsers Home   
PutMonoImageLSBSys Previous   
PutMonoImageMSBLin Next   
GA_2DRenderFuncs Up   

PutMonoImageMSBBM

Draws a monochrome bitmap stored in system memory with bus mastering

Declaration

void NAPI GA_2DRenderFuncs::PutMonoImageMSBBM(
    N_int32 x,
    N_int32 y,
    N_int32 width,
    N_int32 height,
    N_int32 byteWidth,
    N_uint8 *image,
    N_int32 imagePhysAddr,
    N_int32 transparent)

Prototype In

snap/graphics.h

Parameters

x

Destination X coordinate to draw the bitmap at

y

Destination Y coordinate to draw the bitmap at

width

Width of the bitmap in pixels

height

Height of the bitmap in pixels

byteWidth

Width of the bitmap in bytes

image

Pointer to the bitmap image data to draw

imagePhysAddr

Physical address of bitmap image data in system memory

transparent

1 for transparent, 0 for opaque

 

Description

This function copies a monochrome bitmap image from a system memory buffer to video memory using the hardware accelerator, which is used for fast bitmap masking and font rendering operations. The bitmap is rendered in the specified colors using the currently active mix. This function is identical to PutMonoImageMSBSys, except that the bitmap data transferred to video memory using a bus master DMA operation, and the imagePhysAddr is the physical memory address of the image in system memory (and the bitmap data must be physically contiguous in memory).

See Also

PutMonoImageMSBSys, PutMonoImageMSBBM, PutMonoImageMSBSys, PutMonoImageLSBLin, PutMonoImageLSBBM, ClipMonoImageLSBSys, ClipMonoImageLSBLin, ClipMonoImageLSBBM, ClipMonoImageMSBSys, ClipMonoImageMSBLin, ClipMonoImageMSBBM

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