MdispZoom()函数

Synopsis

Zoom a display.

Format

void MdispZoom(DisplayId, XFactor, YFactor)

MIL_ID DisplayId; Display identifier
long XFactor; X zoom factor
long YFactor; Y zoom factor

Description

This function associates a zoom factor with the specified display. When an image buffer is selected for display, it will be zoomed according to this factor (if this feature is supported by the target system). The image buffer will be displayed starting from its top-left corner, unless it has been panned and/or scrolled, using MdispPan.

The DisplayId parameter specifies the identifier of the display.

The XFactor and YFactor parameters specify the X and Yzoom factor, respectively. You can only zoom an image by integer factors; zoom factors between -16 and 16, inclusive (except 0), are supported.

Status

Hardware limitations:

  • Some hardware systems do not support zooming and some only support certain zoom factors.

See also

MdispPan

《MdispZoom()函数》上有25条评论

评论已关闭。