MdispSelect()函数

Synopsis

Select an image buffer to display.

Format

void MdispSelect(DisplayId, ImageBufId)

MIL_ID DisplayId; Display identifier
MIL_ID ImageBufId; Image buffer identifier

Description

This function outputs the specified image buffer contents to the specified MIL display. You can only display one buffer at a time on a specific display.

The DisplayId parameter specifies the identifier of the display.

The ImageBufId parameter specifies the image buffer to display. To be displayable, this buffer must be an image buffer that has an M_IMAGE + M_DISP attribute.

If the specified image buffer is smaller in size than the display size, the border outside the image is blanked out (if the hardware supports this). If the specified buffer is larger in size than the system display, the right and bottom portion of the buffer, the part that exceeds the display size, is not displayed.

Note

By default, under Windows, a call to MdispSelect creates a window surrounding the image.

See also

MdispDeselect