MIL_ID BufId, | //in |
MIL_INT OffsetX, | //in |
MIL_INT OffsetY, | //in |
MIL_INT SizeX, | //in |
MIL_INT SizeY, | //in |
MIL_INT Band, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function allows you to control a specified area of a buffer.
Specifies the band of the area. This parameter can be set to one of the following values.
For the band of the area
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ALL_BANDS. |
||||||||||||||||||||||||||||||||||||||
M_ALL_BANDS |
Specifies all color bands (for RGB, HSL, and YUV buffers). |
||||||||||||||||||||||||||||||||||||||
M_BLUE |
Specifies the blue color band (for RGB buffers). |
||||||||||||||||||||||||||||||||||||||
M_GREEN |
Specifies the green color band (for RGB buffers). |
||||||||||||||||||||||||||||||||||||||
M_RED |
Specifies the red color band (for RGB buffers). |
Specifies the type of buffer setting to control.
See the Parameter associations section for possible values that can be specified.
Specifies the value required for the setting.
See the Parameter associations section for possible values that can be specified.
The table below lists possible values for the ControlType and ControlValue parameters.
For the buffer settings
|
|||||||||||||||||||||||||||||||||||||||
ControlType |
Description
|
||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_MODIFIED |
Signals MIL that the content in the specified area of the buffer was modified without using MIL. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Implements the default behavior. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |