Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID GraListId, | //in |
MIL_INT LabelOrIndex, | //in |
MIL_INT SubIndex, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires information about a specified graphics list, or a graphic contained within the graphics list.
Unlike most other functions that modify a MIL object, you can call this function concurrently from multiple threads on the same MIL graphics list (GraListId) without using an M_MUTEX object, as long as all the other parameters of the concurrent calls do not also share data.
Specifies the identifier of the graphics list about which to inquire information. The graphics list must have been previously allocated on the required system using MgraAllocList().
Specifies the graphic about which to inquire, or specifies to inquire about the graphics list itself. This parameter should be set to one of the following values:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the index of an existing graphic about which to inquire. |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the index. The index is from 0 (inclusive) to the total number of graphics in the list minus 1. You can get the number graphics in the list with M_NUMBER_OF_GRAPHICS. If the inquired value is not supported on the graphic specified, an error is generated. |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the label of an existing graphic about which to inquire. |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the label. The label must be greater than 0. You can get the label of the last graphic added to the list with M_LAST_LABEL. If the inquired value is not supported on the graphic specified, an error is generated. |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires information about the graphics list itself. |
Specifies the index of the sub-element of the graphic about which to inquire. If this information is not required or supported, set this parameter to M_DEFAULT.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to inquire about the graphic itself (instead of just a sub-element). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the index of the sub-element of the graphic about which to inquire. |
Specifies the setting to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information. Since the MgraInquireList() function also returns the requested information, you can set this parameter to M_NULL.
See the Parameter associations section for possible values that can be returned.
The tables below list possible values for the InquireType parameter and possible values returned to the UserVarPtr parameter.
To inquire about a setting of a graphics list, the InquireType parameter should be set to one of the following values. In this case, you must set the LabelOrIndex parameter to M_LIST and the SubIndex parameter to M_DEFAULT.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the color of the selection box and handles when in interactive mode. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color black. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color bright gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies an encoded RGB value. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a grayscale value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the current state of interactivity of the graphics list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a new graphic is being created. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic is being dragged using the mouse. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor is currently hovering over a graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic's handle is being dragged using the mouse. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor is currently hovering over a graphic's handle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor is not hovering over anything and that no graphic is queued for creation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic is queued for creation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the label that was automatically assigned to the last graphic added to the list in the current thread. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the last-added graphic is no longer in the list or no graphics have been added to the list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the label of the last-added graphic in the list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether interactive multiple selection is permitted. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that interactive multiple selection is not permitted. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that interactive multiple selection is permitted. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of graphics in the list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of graphics. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the identifier of the system on which the graphics list was allocated. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the type of system on which the graphics list was allocated. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL IEEE 1394 IIDC system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Clarity UHD system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL CronosPlus system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL GigE Vision system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL GPU system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Host. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Iris GT system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Iris GTR system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Morphis system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Morphis QxT system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Orion HD system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Radient system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Radient eV-CLHS system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Radient eV-CXP system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Radient eV-CL system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Radient Pro system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Solios system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL USB3 Vision system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a MIL Vio system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the color of the selected graphics in interactive mode. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color black. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color bright gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies an encoded RGB value. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a grayscale value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the size of the selection-radius when in interactive mode. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the size of the selection-radius, in display units. |
To inquire about a setting applicable to all graphics types, the InquireType parameter should be set to one of the following values. You can set the LabelOrIndex parameter to the label or index of any graphic in the list, and the SubIndex parameter to M_DEFAULT.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the foreground color of the graphic. SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color black. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color bright gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies an encoded RGB value. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a grayscale value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the offset subtracted from the source X-coordinates. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate offset to subtract, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the offset subtracted from the source Y-coordinates. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate offset to subtract, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the scale factor in the X-direction. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the scale factor in the X-direction. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the scale factor in the Y-direction. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the scale factor in the Y-direction. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the camera calibration information used when rendering (drawing or displaying) a graphic defined in world units, when both source camera calibration information and destination camera calibration information are available to interpret positioning and dimensioning information. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration information of the destination is used when rendering the graphic. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration information of the graphic, set with M_GRAPHIC_SOURCE_CALIBRATION, is used when rendering the graphic. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires how the shape of a graphic, defined in world units, is converted to pixels (rendered). SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to render the graphic so that its shape is preserved even if it means not respecting the camera calibration information exactly. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that all points along the contour of the graphic will be converted using the camera calibration information, following any non-linear distortion. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that only a few key points or features will be converted using the camera calibration information; from these points, the rest of the graphic will be rendered respecting the shape of the graphic. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the identifier of the camera calibration information used to interpret positioning and dimensioning information of a graphic defined in world units. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that no source camera calibration information is available to interpret positioning and dimensioning information of a graphic defined in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the identifier of the internal camera calibration context that will be used. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the type of the graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies an arc (created using MgraArc(), MgraArcFill(), MgraArcAngle(), or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_ARC). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a drawing created using the M...Draw() function of a processing or analysis module, like MmodDraw() or MmeasDraw(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a dot (created using MgraDot() or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_DOT). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies dots (created using MgraDots()). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies infinite lines (created using MgraLines() with M_INFINITE_LINES). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a line (created using MgraLine() or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_LINE). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies lines (created using MgraLines() with M_LINE_LIST). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a polygon (created using MgraLines() with M_POLYGON or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_POLYGON). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a polyline (created using MgraLines() with M_POLYLINE or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_POLYLINE). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a rectangle (created using MgraRect(), MgraRectFill(), MgraRectAngle(), or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_RECT). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies text (created using MgraText()). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the index associated with the graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic label is invalid. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the index value associated with the specified graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the units with which to interpret the graphic's position and dimensional information, for graphics already added to the graphics list. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to interpret the values in pixel units that, unlike M_PIXEL, are not altered when the display is panned or zoomed. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to interpret the values in pixel units, with respect to the pixel coordinate system. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to interpret the values in world units, with respect to the relative coordinate system. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the label that was automatically associated with the graphic when it was added to the list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the label value that was automatically associated with the specified graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of sub-elements (position-points) within the specified graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of sub-elements. |
To inquire graphics context settings that affect the interactivity of a graphic, drawn in a graphics list associated with a display when interactive mode is enabled (MdispControl() with M_GRAPHIC_LIST_INTERACTIVE set to M_ENABLE), the InquireType parameter should be set to one of the following values. You can set the LabelOrIndex parameter to the label or index of a specific graphic, and the SubIndex parameter must be set to M_DEFAULT.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a graphic can be edited via user interaction in an interactive display. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic cannot be edited via user interaction. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic can be edited via user interaction. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the graphic is selected. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic is not selected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic is selected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a graphic can be moved via user interaction in an interactive display. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic cannot be moved via user interaction. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic can be moved via user interaction by clicking and dragging the graphic, its selection box, or its center handle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a graphic can be resized via user interaction in an interactive display. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic cannot be resized via user interaction and the resize handles will not be displayed if a graphic is selected. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic can be resized via user interaction by clicking and dragging one of the resize handle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a graphic can be rotated via user interaction in an interactive display. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic cannot be rotated via user interaction and the rotate handle will not be displayed if a graphic is selected. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic can be rotated via user interaction by clicking and dragging the rotation handle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a graphic in a graphics list can be selected via user interaction in an interactive display. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic cannot be selected via user interaction. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic can be selected by clicking on it. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a graphic can be modified via user interaction in an interactive display using handles that are specific to its graphic type. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic cannot be modified via user interaction and its specific feature handles will not be displayed if a graphic is selected. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic can be modified via user interaction by clicking and dragging one of the type-specific handles. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a graphic is rendered on the display. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic is not rendered. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic is rendered. |
To inquire about a setting specific to text in the graphics list, the InquireType parameter should be set to one of the following values. You must set the LabelOrIndex parameter to the label or index of text, and the SubIndex parameter to M_DEFAULT. Inquiring one of the following settings for graphics that are not text will generate an error.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the background color of the text. SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color black. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color bright gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark cyan. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color dark yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light blue. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light gray. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light green. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color light white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color magenta. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color red. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color white. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the color yellow. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies an encoded RGB value. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a grayscale value. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the text's background is filled. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the background will be filled with the current background color before drawing text. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies not to change the background before drawing text. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the font of the characters in the text. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a large bitmap font, where each character is drawn in a 16x32 pixel area. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a medium bitmap font, where each character is drawn in a 12x24 pixel area. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a small bitmap font, where each character is drawn in a 8x16 pixel area. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a TrueType font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether MIL will search for a suitable font to draw text if the currently selected font is a TrueType font that does not support the character code. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that MIL will not search for a suitable font. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that MIL will search for a suitable font. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the size in which text is drawn for a TrueType font. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the text's font size, in points. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the bitmap font's horizontal scaling factor. SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the factor by which to multiply the width of the font characters. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the bitmap font's vertical scaling factor. SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the factor by which to multiply the height of the font characters. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the horizontal alignment of the text. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text is horizontally centered. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text is left-aligned. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text is right-aligned. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the vertical alignment of the text. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text is bottom-aligned. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text is vertically centered. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text is top-aligned. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires how borders are drawn around the text. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a line is drawn underneath the text. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a line is drawn to the left of the text. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that no border is drawn around the text. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a line is drawn to the right of the text. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a line is drawn above the text. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the direction text is drawn when using a TrueType font. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text will be drawn from left to right. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that text will be drawn from right to left. |
You can add one of the following values to the above-mentioned values to get the color used for a 16-bit or 32-bit multi-band buffer.
You must inquire each color component (R,G, and B) separately.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the blue color component. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the green color component. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the red color component. |
To inquire about the position and dimensional information settings of a graphic (typically set when the graphic is added to the list), the InquireType parameter should be set to one of the following values. You must set the LabelOrIndex parameter to the label or index of a graphic that supports that setting. Unless otherwise specified, the SubIndex parameter should be set to M_DEFAULT.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the angle of the graphic. SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the angle, in degrees, relative to the input coordinate system specified using M_INPUT_UNITS. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the angle at which to stop drawing the arc. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the end angle, in degrees, relative to the input coordinate system specified using M_INPUT_UNITS. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the angle at which to start drawing the arc. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the start angle, in degrees, relative to the input coordinate system specified using M_INPUT_UNITS. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether to draw an arc or a sector. SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the arc (the curve between the specified start and end angles) is drawn without lines extending from the center of the ellipse to the start and end points of the arc. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a sector is drawn with lines extending from the center of the ellipse to the start and end points of the arc, unless the specified start and end angles form a closed curve. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the width and height are forced to be equal. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the width and height of a graphic are not forced to be equal. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the width and height of a graphic are forced to be equal. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the graphic is filled. SET SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic is not filled. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic is filled. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires how to interpret M_POSITION_X and M_POSITION_Y. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to interpret M_POSITION_X and M_POSITION_Y as the rectangle's center. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to interpret M_POSITION_X and M_POSITION_Y as the rectangle's top-left corner. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the specified X-position of a graphic or of one of its sub-elements. SET SET SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-position. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the specified Y-position of a graphic or of one of its sub-elements. SET SET SET SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-position. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the radius of the arc, in the X-direction. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the radius. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the radius of the arc, in the Y-direction. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the radius. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the height of the rectangle. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the height. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the width of a rectangle. SET SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the width. |
You can add one of the following values to the above-mentioned values to cast the requested information to a required data type.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_DOUBLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_ID. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT32. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT32
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT64. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT64
|
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |