beautypg.com

Sensoray 2224 Windows User Manual

Page 56

background image

NOTE: All conditions are met when sub-window position 0 is set to match the input video
resolution, thereby creating a full screen overlay that can be quickly updated immediately
with this call. All other overlay functions use S2226_UpdateOverlay() to calculate and
download ALL sub-windows each time it is called.

ImageFile

Full name/path to image file. 24-bit bmp and pcx files are supported. If NULL, use Raw 24-

bit bitmap pointer Image

ImageRGBptr

Pointer to memory containing 24-bit RGB data Row 0 first

xPos

Horizontal Destination pixel position from left of Bitmap-0 to copy to.

yPos

Vertical Destination pixel position from top of Bitmap-0 to copy to.

xSize

Size of horizontal line in pixels (NOTE: Each pixel is 3 bytes: LSB=Red,Green,MSB=Blue)

Used with Image pointer only.

ySize

Number of Lines. Used with Image pointer only.

Backgnd_ForegndN

Copy directly to currently displayed overlay image when 0. Otherwise copy to overlay's

double buffered background.

handle

ID if multiple boards installed.

Returns

0 on success, -1 on failure.

MID2226_API int S2226_OverlayBackgroundColor(

int red,

int green,

int blue,

HANDLE hdev

);

Sets the color used for the background regions.

Parameters

56

This manual is related to the following products: