PutMonoImageLSBBM

Draws a monochrome bitmap stored in system memory with bus mastering

Declaration

void NAPI GA_2DRenderFuncs::PutMonoImageLSBBM(
    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 is identical to the PutMonoImageMSBBM function, except that it processes the bitmap data in LSB fashion. This means that the first pixel drawn corrsponds to bit 0 of the first byte. The second pixel is bit 1 of the first byte, ...,the 8th pixel is bit 0 of the second byte etc. Both LSB and MSB versions are provided for performance.

See Also

PutMonoImageLSBSys, PutMonoImageLSBBM, PutMonoImageMSBSys, PutMonoImageMSBLin, PutMonoImageMSBBM, ClipMonoImageLSBSys, ClipMonoImageLSBLin, ClipMonoImageLSBBM, ClipMonoImageMSBSys, ClipMonoImageMSBLin, ClipMonoImageMSBBM

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