| Home
| Previous
| Next
| Up

PutMonoImageLSBLin

Draws a monochrome bitmap stored in offscreen video memory

Declaration

void NAPI GA_2DRenderFuncs::PutMonoImageLSBLin(
N_int32 x,
N_int32 y,
N_int32 width,
N_int32 height,
N_int32 byteWidth,
N_int32 imageOfs,
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
imageOfs | Offset of bitmap image data in video memory (byte address)
transparent | 1 for transparent, 0 for opaque

Description

This function is identical to the PutMonoImageMSBLin 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.

Note: The value of imageOfs must be aligned to the boundary specified in the MonoBitmapStartAlign member of the GA_modeInfo structure, and the byteWidth value must be padded to multiples of the MonoBitmapStridePad member of the GA_modeInfo structure.

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