Please enable JavaScript to view this site.

FALCON/EAGLE user manual 4.62

Syntax

INT is_RenderBitmap (HIDS hf, INT nMemID, HWND hwnd, INT nMode)

Description

is_SetRenderBitmap() displays images from an image memory in the defined window. For displaying the images Win32 Bitmap functions are used.

Parameters

hf

Frame grabber handle

nMemID

ID of the image memory which should be displayed

hwnd

Window handle of the display window

nMode

 

IS_RENDER_NORMAL

Image output 1:1 from the memory

IS_RENDER_FIT_TO_WINDOW

Fit the image into the size of the window

IS_RENDER_ DOWNSCALE_1_2

Display the image with a size of 50 % of the original size.

Options which can be logical linked (OR) with the above:

IS_RENDER_MIRROR_UPDOWN

Horizontal mirroring of the image (upside down)

IS_RENDER_HALF_HEIGHT

Display of the image with half height without scaling. The is been clipped.

IS_RENDER_USE_MEMORY_COLOR

Uses the color setting of the allocated image memory, not the current setting of is_SetColorMode().

Return value

IS_SUCCESS, IS_NO_SUCCESS

Beispiel

Fit the image into a window with horizontal mirroring:

is_RenderBitmap (hf, nMemID, hwnd, IS_RENDER_FIT_TO_WINDOW | IS_RENDER_MIRROR_UPDOWN);