| Home
| Previous
| Next
| Up

PutMonoImageMSBLin

Draws a monochrome bitmap stored in offscreen video memory

Declaration

void NAPI GA_2DRenderFuncs::PutMonoImageMSBLin(
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 copies a monochrome bitmap image from a video 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 is taken from a packed bitmap image in video memory, with the imageOfs parameter pointing to the start of the bitmap in video memory.

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

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