MIL_ID BufId, | //in |
MIL_INT OffsetX, | //in |
MIL_INT OffsetY, | //in |
MIL_INT SizeX, | //in |
MIL_INT SizeY, | //in |
MIL_INT64 ControlFlag | //in |
This function moves and resizes a child buffer within the parent buffer. If the specified new offset or size causes the child buffer to be partially outside of the parent buffer, the child buffer can be clipped to the parent buffer (using M_CLIP).
Specifies the identifier of the child buffer to move and/or resize. This buffer should be allocated using MbufChild...().
This image buffer must not have a region of interest (ROI) associated with it. Using an image buffer with an ROI will cause an error.
Specifies the new X-offset of the child buffer relative to the parent buffer's top-left pixel.
For the X-offset
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the X-offset, in pixels. |
Specifies the new Y-offset of the child buffer relative to the parent's top-left pixel.
For the Y-offset
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the Y-offset, in pixels. |
Specifies the new width of the child buffer.
For the width
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the width, in pixels. |
Specifies the new height of the child buffer.
For the height
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the height, in pixels. |
Specifies the function's control flag. This parameter must be set to one of the following:
For specifying the function's control
flag
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies to use the values passed to the offset and size parameters as is, when moving the child buffer. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_CLIP |
Specifies that the values passed to the offset and size parameters are automatically adjusted (if necessary) to ensure that the child buffer stays within the limits of the parent buffer. (more details...) |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |