| MIL 10 Reference
| Customize Help
| Save Settings

MgraControlList



See also
Availability
Available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Control the graphics contained within the graphics list.
Syntax
void MgraControlList(
MIL_ID GraListId, //in
MIL_INT LabelOrIndex, //in
MIL_INT SubIndex, //in
MIL_INT64 ControlType, //in
MIL_DOUBLE ControlValue //in
)
Description

This function allows you to control the settings of graphics contained within the graphics list. Most of the control type settings can be inquired using MgraInquireList().

When graphics are added to the list, they inherit the current settings of the graphics context. However, subsequent changes to the graphics context (for example, with MgraControl()) do not affect graphics already in the list. The settings of graphics in the list can only be modified using MgraControlList().

Using this function, you can also control a sub-element of a graphic in a graphics list. This is useful when a single point of a graphic requires repositioning. For example, you can reposition (M_POSITION_X and M_POSITION_Y) a vertex point of a polygon (MgraLines() with M_POLYGON) by specifying the polygon graphic (LabelOrIndex), and one of its points (SubIndex).

All geometric type changes that you make to the graphics (such as, rotation, scaling, and translation) are applied according to the current input units of each graphic in the list, as specified with M_INPUT_UNITS, on a per graphic basis. For example, if you change the position of two graphics in the list, a dot set in pixel units and a rectangle set in world units, the dot's position will change in pixel units and the rectangle's position will change in world units. However, changing M_INPUT_UNITS to a different value will not convert a graphic's position.

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.

When compiling C code in 64-bit mode, MgraControlList() internally calls the MIL_INT64 version of this function (MgraControlListInt64()). If you need to pass floating-point values, call the MIL_DOUBLE version of this function (MgraControlListDouble()).
Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
GraListId

Specifies the identifier of the graphics list to control. The graphics list must have been previously allocated on the required system using MgraAllocList().

LabelOrIndex

Specifies the graphic (one or all) to control. This parameter must be set to one of the following values:

function map For specifying the graphics list or graphic therein
CollapseValue Description
Collapse

Specifies the index of an existing graphic on which to apply the control setting.

(summarize)
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 using MgraInquireList() with M_NUMBER_OF_GRAPHICS.

If the control setting is not supported on the graphic specified, an error is generated. For example, a dot (MgraDot()) cannot be scaled (M_APPLY_SCALE) or rotated (M_ROTATE).

Collapse

Specifies the label of an existing graphic on which to apply the control setting.

(summarize)
Parameters

Specifies the label. The label must be greater than 0. You can retrieve the label of the last graphic added to the list using MgraInquireList() with M_LAST_LABEL.

If the control setting is not supported on the graphic specified, an error is generated. For example, a dot (MgraDot()) cannot be scaled (M_APPLY_SCALE) or rotated (M_ROTATE).

Collapse M_ALL

Applies the specified control setting to all the graphics contained within the graphics list. The graphics that do not support the specified control type setting remain unchanged.

(summarize)
Collapse M_ALL_SELECTED

Applies the specified control setting to all the graphics contained within the graphics list that are currently selected (that is, all graphics with M_GRAPHIC_SELECTED set to M_TRUE). The graphics that are not selected remain unchanged.

(summarize)
Collapse M_LIST

Applies the specified control setting to the graphics list itself.

SubIndex

Specifies the index of the sub-element of the graphic on which to apply the control setting. If this information is not required or supported, set this parameter to M_DEFAULT.

function map For specifying the index of a graphic's sub-element
CollapseValue Description
Collapse M_DEFAULT

Specifies to apply the control setting to the graphic itself (instead of just a sub-element).

Collapse Value >= 0

Specifies the index of the sub-element of the graphic on which to apply the control setting. The following table lists all the graphics for which you can control their individual sub-elements and outlines how sub-indices are assigned for each of these.

Graphics types

Index of sub-element values

Dots (created using MgraDots()).

The indices, starting from 0, are assigned to each dot in order of creation.

A single line (created using MgraLine() or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_LINE).

0 is assigned to the specified start point, and 1 is assigned to the specified end point of the line.

Sets of finite length lines (created using MgraLines() with M_LINE_LIST).

The indices, starting from 0, are assigned to the specified start point and end point of each line, in order of creation. For example, the start point of the first line has an index of 0 and the end point has an index of 1, and the start point of the second line has an index of 2 and the end point has an index of 3.

Sets of infinite lines (created using MgraLines() with M_INFINITE_LINES).

The indices, starting from 0, are assigned to the first and second specified point of each line, in order of creation. For example, the first specified point of the first line has an index of 0 and its second specified point has an index of 1, and the first specified point of the second line has an index of 2 and its second specified point has an index of 3.

A polygon (created using MgraLines() with M_POLYGON or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_POLYGON).

The indices, starting from 0, are assigned to each polygon vertex in order of creation.

A polyline (created using MgraLines() with M_POLYLINE or user-defined using MgraInteractive() set to M_GRAPHIC_TYPE_POLYLINE).

The indices, starting from 0, are assigned to each polyline point in order of creation.

(summarize)
ControlType

Specifies the graphics list setting to control.

See the Parameter associations section for possible values that can be specified.

ControlValue

Specifies the value to assign to the graphics list setting.

See the Parameter associations section for possible values that can be specified.

The following ControlType and corresponding ControlValue parameter settings are used to change the settings of a graphics list itself. In this case, you must set the LabelOrIndex parameter to M_LIST and the SubIndex parameter to M_DEFAULT.

function map For changing the settings of the graphics list itself
CollapseControlType Description
ControlValue
Collapse M_INTERACTIVE_ANNOTATIONS_COLOR +

Sets the color of the selection box and handles when in interactive mode. INQ

(summarize)
Collapse
M_RGB888(
MIL_INT Red,
MIL_INT Green,
MIL_INT Blue
)

Specifies an RGB value when drawing in an 8-bit, 3-band buffer. The red, green, and blue values must be between 0 and 255, inclusive.

When drawing in a 16-bit or 32-bit multi-band buffer, the components of the RGB value are cast to the type of the destination buffer's bands.

To specify a 16-bit or 32-bit color component, use MgraControlList() with M_INTERACTIVE_ANNOTATIONS_COLOR combined with the appropriate constant (M_RED, M_GREEN, or M_BLUE).

(summarize)
Parameters

Specifies the red component, as a value between 0 and 255.

Specifies the green component, as a value between 0 and 255.

Specifies the blue component, as a value between 0 and 255.

Collapse M_COLOR_BLACK

Specifies the color black.

Collapse M_COLOR_BLUE

Specifies the color blue.

Collapse M_COLOR_BRIGHT_GRAY

Specifies the color bright gray.

Collapse M_COLOR_CYAN

Specifies the color cyan.

Collapse M_COLOR_DARK_BLUE

Specifies the color dark blue.

Collapse M_COLOR_DARK_CYAN

Specifies the color dark cyan.

Collapse M_COLOR_DARK_GREEN

Specifies the color dark green.

Collapse M_COLOR_DARK_MAGENTA

Specifies the color dark magenta.

Collapse M_COLOR_DARK_RED

Specifies the color dark red.

Collapse M_COLOR_DARK_YELLOW

Specifies the color dark yellow.

Collapse M_COLOR_GRAY

Specifies the color gray.

Collapse M_COLOR_GREEN

Specifies the color green.

Collapse M_COLOR_LIGHT_BLUE

Specifies the color light blue.

Collapse M_COLOR_LIGHT_GRAY

Specifies the color light gray.

Collapse M_COLOR_LIGHT_GREEN

Specifies the color light green.

Collapse M_COLOR_LIGHT_WHITE

Specifies the color light white.

Collapse M_COLOR_MAGENTA

Specifies the color magenta.

Collapse M_COLOR_RED

Specifies the color red.

Collapse M_COLOR_WHITE

Specifies the color white.

Collapse M_COLOR_YELLOW

Specifies the color yellow.

Collapse Value

Specifies a grayscale value. The buffer can be a 1-band or multi-band buffer. The specified value is cast to the buffer type and depth.

Note that a grayscale value can be any integer or floating-point number. If the given value exceeds the range of the possible values that can be stored in each band of the destination buffer, the least significant bits of the value are used.

(summarize)
Collapse M_MULTIPLE_SELECTION

Sets whether to permit interactive multiple selection using the Ctrl key. When this setting is enabled, a user can select multiple graphics by holding down the Ctrl key and clicking on the graphics that need to be selected. Note that, even if this is disabled, multiple selection is still possible programmatically using M_GRAPHIC_SELECTED. INQ

(summarize)
Collapse M_DISABLE

Specifies that interactive multiple selection is not permitted.

Collapse M_ENABLE

Specifies that interactive multiple selection is permitted.

This is the default value.

(summarize)
Collapse M_SELECTED_COLOR +

Sets the color of the selected graphics in interactive mode. INQ

(summarize)
Collapse
M_RGB888(
MIL_INT Red,
MIL_INT Green,
MIL_INT Blue
)

Specifies an RGB value when drawing in an 8-bit, 3-band buffer. The red, green, and blue values must be between 0 and 255, inclusive.

When drawing in a 16-bit or 32-bit multi-band buffer, the components of the RGB value are cast to the type of the destination buffer's bands.

To specify a 16-bit or 32-bit color component, use MgraControlList() with M_SELECTED_COLOR combined with the appropriate constant (M_RED, M_GREEN, or M_BLUE).

(summarize)
Parameters

Specifies the red component, as a value between 0 and 255.

Specifies the green component, as a value between 0 and 255.

Specifies the blue component, as a value between 0 and 255.

Collapse M_COLOR_BLACK

Specifies the color black.

Collapse M_COLOR_BLUE

Specifies the color blue.

Collapse M_COLOR_BRIGHT_GRAY

Specifies the color bright gray.

Collapse M_COLOR_CYAN

Specifies the color cyan.

Collapse M_COLOR_DARK_BLUE

Specifies the color dark blue.

Collapse M_COLOR_DARK_CYAN

Specifies the color dark cyan.

Collapse M_COLOR_DARK_GREEN

Specifies the color dark green.

Collapse M_COLOR_DARK_MAGENTA

Specifies the color dark magenta.

Collapse M_COLOR_DARK_RED

Specifies the color dark red.

Collapse M_COLOR_DARK_YELLOW

Specifies the color dark yellow.

Collapse M_COLOR_GRAY

Specifies the color gray.

Collapse M_COLOR_GREEN

Specifies the color green.

Collapse M_COLOR_LIGHT_BLUE

Specifies the color light blue.

Collapse M_COLOR_LIGHT_GRAY

Specifies the color light gray.

Collapse M_COLOR_LIGHT_GREEN

Specifies the color light green.

Collapse M_COLOR_LIGHT_WHITE

Specifies the color light white.

Collapse M_COLOR_MAGENTA

Specifies the color magenta.

Collapse M_COLOR_RED

Specifies the color red.

Collapse M_COLOR_WHITE

Specifies the color white.

Collapse M_COLOR_YELLOW

Specifies the color yellow.

Collapse Value

Specifies a grayscale value. The buffer can be a 1-band or multi-band buffer. The specified value is cast to the buffer type and depth.

Note that a grayscale value can be any integer or floating-point number. If the given value exceeds the range of the possible values that can be stored in each band of the destination buffer, the least significant bits of the value are used.

(summarize)
Collapse M_SELECTION_RADIUS

Sets the size of the selection-radius when in interactive mode. Selection-radius refers to how close a mouse click needs to be to a graphic to select it. For example if a graphic is at a position 4 display units radially away from where the user clicked, the graphic will appear selected if the selection-radius is set to a value greater than or equal to 4 display units. INQ

(summarize)
Collapse Value >= 1.0

Specifies the size of the selection-radius, in display units.

The default value is 5.0.

(summarize)

The following ControlType and corresponding ControlValue parameter settings are used to change the settings inherited from the graphics context when a graphic is initially added to the list. The settings apply to all types of graphics.

In this case, the LabelOrIndex parameter can be set to one or all graphics and the SubIndex parameter must be set to M_DEFAULT.

function map For changing the settings inherited from the graphics context
CollapseControlType Description
ControlValue
Collapse M_COLOR +

Sets the foreground color of the graphic. INQ

(summarize)
Collapse
M_RGB888(
MIL_INT Red,
MIL_INT Green,
MIL_INT Blue
)

Specifies an RGB value when drawing in an 8-bit, 3-band buffer. The red, green, and blue values must be between 0 and 255, inclusive.

When drawing in a 16-bit or 32-bit multi-band buffer, the components of the RGB value are cast to the type of the destination buffer's bands.

To specify a 16-bit or 32-bit color component, use MgraControlList() with M_COLOR combined with the appropriate constant (M_RED, M_GREEN, or M_BLUE).

(summarize)
Parameters

Specifies the red component, as a value between 0 and 255.

Specifies the green component, as a value between 0 and 255.

Specifies the blue component, as a value between 0 and 255.

Collapse M_COLOR_BLACK

Specifies the color black.

Collapse M_COLOR_BLUE

Specifies the color blue.

Collapse M_COLOR_BRIGHT_GRAY

Specifies the color bright gray.

Collapse M_COLOR_CYAN

Specifies the color cyan.

Collapse M_COLOR_DARK_BLUE

Specifies the color dark blue.

Collapse M_COLOR_DARK_CYAN

Specifies the color dark cyan.

Collapse M_COLOR_DARK_GREEN

Specifies the color dark green.

Collapse M_COLOR_DARK_MAGENTA

Specifies the color dark magenta.

Collapse M_COLOR_DARK_RED

Specifies the color dark red.

Collapse M_COLOR_DARK_YELLOW

Specifies the color dark yellow.

Collapse M_COLOR_GRAY

Specifies the color gray.

Collapse M_COLOR_GREEN

Specifies the color green.

Collapse M_COLOR_LIGHT_BLUE

Specifies the color light blue.

Collapse M_COLOR_LIGHT_GRAY

Specifies the color light gray.

Collapse M_COLOR_LIGHT_GREEN

Specifies the color light green.

Collapse M_COLOR_LIGHT_WHITE

Specifies the color light white.

Collapse M_COLOR_MAGENTA

Specifies the color magenta.

Collapse M_COLOR_RED

Specifies the color red.

Collapse M_COLOR_WHITE

Specifies the color white.

Collapse M_COLOR_YELLOW

Specifies the color yellow.

Collapse Value

Specifies a grayscale value. The buffer can be a 1-band or multi-band buffer. The specified value is cast to the buffer type and depth.

The default value is -1. For example, this value is equivalent to 0xFF for an 8-bit buffer.

Note that a grayscale value can be any integer or floating-point number. If the given value exceeds the range of the possible values that can be stored in each band of the destination buffer, the least significant bits of the value are used.

(summarize)
Collapse M_DRAW_OFFSET_X

Sets the offset to subtract from the source X-coordinates before rendering the graphic.

This is useful to take results obtained relative to an offset and draw them relative to the top-left corner of the destination image of a draw operation. INQ

(summarize)
Collapse M_DEFAULT

Specifies the default value; the default value is 0.0 pixels.

Collapse Value

Specifies the X-coordinate offset to subtract, in pixels.

Collapse M_DRAW_OFFSET_Y

Sets the offset to subtract from the source Y-coordinates before rendering the graphic.

This is useful to take results obtained relative to an offset and draw them relative to the top-left corner of the destination image of a draw operation. INQ

(summarize)
Collapse M_DEFAULT

Specifies the default value; the default value is 0.0 pixels.

Collapse Value

Specifies the Y-coordinate offset to subtract, in pixels.

Collapse M_DRAW_ZOOM_X

Sets the scale factor in the X-direction. This value is useful to zoom drawings of results. INQ

(summarize)
Collapse M_DEFAULT

Specifies the default value; the default value is 1.0.

Collapse Value > 0

Specifies the scale factor in the X-direction.

Collapse M_DRAW_ZOOM_Y

Sets the scale factor in the Y-direction. This value is useful to zoom drawings of results. INQ

(summarize)
Collapse M_DEFAULT

Specifies the default value; the default value is 1.0.

Collapse Value > 0

Specifies the scale factor in the Y-direction.

Collapse M_FIXTURE

Sets the calibration information to use when rendering (drawing or displaying) a graphic that has been defined in world units (M_INPUT_UNITS set to M_WORLD).

MIL can interpret positioning and dimensioning information of the graphic solely using the calibration information associated with the destination image buffer (or the image buffer selected to the display). Alternatively, you can have MIL use the explicitly specified calibration information (M_GRAPHIC_SOURCE_CALIBRATION). If only the destination or the graphic is associated with calibration information, it will be used to render the graphic. However, if both are available, you should use M_FIXTURE to identify with respect to which of their relative coordinate systems has positioning and dimensioning information been specified. If with respect to that of the destination calibration information (M_USE_DESTINATION_FIRST), the source calibration information is not used. If with respect to that of the source calibration information (M_USE_SOURCE_FIRST), positions and dimensions are transformed from this relative coordinate system to the absolute coordinate system; then, since it is assumed that there is only one absolute coordinate system, these positions and dimensions are transformed from the absolute coordinate system to the pixel coordinate system, using the destination calibration information. INQ

(summarize)
Collapse M_USE_DESTINATION_FIRST

Specifies that the calibration information of the destination is used when rendering the graphic. In this case, the graphic follows the relative coordinate system of the destination. This is most often used when working with ROIs.

(summarize)
Collapse M_USE_SOURCE_FIRST

Specifies that the calibration information of the graphic, set with M_GRAPHIC_SOURCE_CALIBRATION, is used when rendering the graphic. In this case, the graphic is positioned independent of the destination's relative coordinate system; the destination calibration information is only used, if available, for the world to pixel mapping.

(summarize)
Collapse M_GRAPHIC_CONVERSION_MODE

Sets how the shape of a graphic, defined in world units, is converted to pixels (rendered).

Drawings created using a processing or analysis module draw function (M...Draw()) ignore this control type; instead the graphics are drawn using settings defined in their respective modules. INQ

(summarize)
Collapse M_PRESERVE_SHAPE_AVERAGE

Specifies to render the graphic so that its shape is preserved even if it means not respecting the calibration information exactly. For example, a rectangle in world units will be mapped to a rectangle in pixel units, even if the accurate conversion would not yield a rectangle.

This setting applies only to dots (MgraDot() and MgraDots()) and to rectangles (MgraRect() and MgraRectAngle()).

(summarize)
Collapse M_RESHAPE_FOLLOWING_DISTORTION

Specifies that all points along the contour of the graphic will be converted using the calibration information, following any non-linear distortion. This mode is slower, but more accurate.

(summarize)
Collapse M_RESHAPE_FROM_POINTS

Specifies that only a few key points or features will be converted using the calibration information; from these points, the rest of the graphic will be rendered respecting the shape of the graphic. For example, when converting a line segment from world to pixel units, the two end points are mapped to pixel units, and then a straight line is drawn connecting these two points, ignoring any non-linear distortion in-between. This is the fastest mode, and is accurate as long as there is only linear distortion.

(summarize)
Collapse M_GRAPHIC_SOURCE_CALIBRATION

Sets the calibration information to use to interpret positioning and dimensioning information of a graphic defined in world units (M_INPUT_UNITS set to M_WORLD), if you have set M_FIXTURE to M_USE_SOURCE_FIRST. If the destination also has calibration information, positioning and dimensioning information are transformed from the relative coordinate system of the source calibration information to its absolute coordinate system. Then, since it is assumed that there is only one absolute coordinate system, the dimensions and positions are transformed from the absolute coordinate system to the pixel coordinate system, using the destination calibration information.

Note that this calibration information is also used if you have set M_FIXTURE to M_USE_DESTINATION_FIRST, but the graphic is drawn in an image buffer that has no calibration information. INQ

(summarize)
Collapse M_NULL

Specifies that no source calibration information is available to interpret positioning and dimensioning information of a graphic defined in world units.

Collapse MIL identifier

Specifies the identifier of a calibration context, image buffer or processing or analysis module result buffer, whose calibration information to use. Note that the calibration information of this object is copied to an internal calibration context; the specified object is not associated with the graphics list. Since the information is being copied, MgraInquireList() will not return the same identifier as the one passed to MgraControlList(); instead it will return the identifier of the copy. This identifier is automatically generated by MIL. If, for example, the relative coordinate system changes after using M_GRAPHIC_SOURCE_CALIBRATION, it will have no effect on the graphic.

(summarize)
Collapse M_INPUT_UNITS

Sets the units with which to interpret the graphic's position and dimensional information, for graphics already added to the graphics list. This essentially sets the input coordinate system to use. INQ

(summarize)
Collapse M_DISPLAY

Specifies to interpret the values in pixel units that, unlike M_PIXEL, are not altered when the display is panned or zoomed. This can be useful if, for example, you always want to display the camera's current frame rate at the top-left corner. M_DISPLAY must only be specified when the graphics list is used to annotate the display non-destructively, using MdispControl() with M_ASSOCIATED_GRAPHIC_LIST_ID.

(summarize)
Collapse M_PIXEL

Specifies to interpret the values in pixel units, with respect to the pixel coordinate system. If the graphics list is used to annotate the display non-destructively (M_ASSOCIATED_GRAPHIC_LIST_ID), the graphics will be zoomed and panned according to the display's zoom and pan settings. This is not the case when setting the units to M_DISPLAY, which also uses pixel units.

(summarize)
Collapse M_WORLD

Specifies to interpret the values in world units, with respect to the relative coordinate system. If the graphics list is used to annotate the display non-destructively (M_ASSOCIATED_GRAPHIC_LIST_ID), the graphic will be zoomed and panned according to the display's zoom and pan settings.

When using M_WORLD, a graphic's coordinates are interpreted as real-world values and transformed to pixel values before being drawn or associated with the display non-destructively.

Note that using the calibration information associated with the image (M_WORLD), ensures that whenever the relative coordinate system moves (for example, with McalRelativeOrigin(), McalSetCoordinateSystem(), or McalFixture()), the non-destructive annotations move accordingly. In this case, the position of the graphics is set according to the position of the relative coordinate system.

If world units are specified, calling MgraDraw() generates an error if the operation is performed on an uncalibrated image and M_GRAPHIC_SOURCE_CALIBRATION is set to M_NULL. When the graphics list is associated with the display, nothing will be drawn.

(summarize)

The following ControlType and corresponding ControlValue parameter settings are used to change settings inherited from the graphics context 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).

You can still change these settings even if interactive mode is disabled, but they will have no effect until interactive mode is enabled. If you attempt to change one of these settings to M_ENABLE for a graphics type that cannot be assigned this value, an error is generated.

In this case, the LabelOrIndex parameter can be set to one or all graphics and the SubIndex parameter must be set to M_DEFAULT.

function map For changing the interactive properties of graphics in the list
CollapseControlType Description
ControlValue
Collapse M_EDITABLE

Sets whether a graphic can be edited via user interaction in an interactive display. If a graphic is not visible or if it is not selectable, it is not editable and this setting is ignored.

This setting applies to all types of graphics except dots (MgraDots()), text (MgraText()), sets of finite length lines (MgraLines() with M_LINE_LIST), and drawings created using a processing or analysis module draw function (M...Draw()). Enabling this setting when specifying an unsupported graphic type will generate an error. INQ

(summarize)
Collapse M_DISABLE

Specifies that the graphic cannot be edited via user interaction. Note that the graphic can still be modified using MgraControlList().

(summarize)
Collapse M_ENABLE

Specifies that the graphic can be edited via user interaction.

Collapse M_GRAPHIC_SELECTED

Sets whether a graphic is selected. In an interactive display, a selected graphic will be surrounded by a selection box with handles that allow user interaction.

This setting applies to all types of graphics. INQ

(summarize)
Collapse M_FALSE

Specifies that the graphic is not selected.

Collapse M_TRUE

Specifies that the graphic is selected.

Collapse M_MOVABLE

Sets whether a graphic can be moved via user interaction in an interactive display. If a graphic is not visible, not selectable, or not editable, it is not movable and the setting is ignored.

This setting applies to all types of graphics except dots (MgraDots()), text (MgraText()), sets of finite length lines (MgraLines() with M_LINE_LIST), and drawings created using a processing or analysis module draw function (M...Draw()). Enabling this setting when specifying an unsupported graphic type will generate an error. INQ

(summarize)
Collapse M_DISABLE

Specifies that the graphic cannot be moved via user interaction. Note that the graphic can still be moved using MgraControlList().

(summarize)
Collapse M_ENABLE

Specifies that the graphic can be moved via user interaction by clicking and dragging the graphic, its selection box, or its center handle.

Collapse M_RESIZABLE

Sets whether a graphic can be resized via user interaction in an interactive display. If a graphic is not visible, not selectable, or not editable, it is not resizable and the setting is ignored.

This setting applies to all types of graphics except a dot (MgraDot()), dots (MgraDots()), text (MgraText()), sets of finite length lines (MgraLines() with M_LINE_LIST), and drawings created using a processing or analysis module draw function (M...Draw()). Enabling this setting when specifying an unsupported graphic type will generate an error. INQ

(summarize)
Collapse M_DISABLE

Specifies that the graphic cannot be resized via user interaction and the resize handles will not be displayed if a graphic is selected. Note that the graphic can still be resized using MgraControlList().

(summarize)
Collapse M_ENABLE

Specifies that the graphic can be resized via user interaction by clicking and dragging one of the resize handle.

Collapse M_ROTATABLE

Sets whether a graphic can be rotated via user interaction in an interactive display. If a graphic is not visible, not selectable, or not editable, it is not rotatable and the setting is ignored.

This setting applies to all types of graphics except a dot (MgraDot()), dots (MgraDots()), text (MgraText()), sets of finite length lines (MgraLines() with M_LINE_LIST), and drawings created using a processing or analysis module draw function (M...Draw()). Enabling this setting when specifying an unsupported graphic type will generate an error. INQ

(summarize)
Collapse M_DISABLE

Specifies that the graphic cannot be rotated via user interaction and the rotate handle will not be displayed if a graphic is selected. Note that the graphic can still be rotated using MgraControlList().

(summarize)
Collapse M_ENABLE

Specifies that the graphic can be rotated via user interaction by clicking and dragging the rotation handle.

Collapse M_SELECTABLE

Sets whether a graphic can be selected via user interaction in an interactive display. If a graphic is not visible, it is not selectable and this setting is ignored.

This setting applies to all graphics except dots (MgraDots()) and sets of finite length lines (MgraLines() with M_LINE_LIST). Enabling this setting when specifying an unsupported graphic type will generate an error. INQ

(summarize)
Collapse M_DISABLE

Specifies that the graphic cannot be selected via user interaction. Note that the graphic can still be selected using MgraControlList().

(summarize)
Collapse M_ENABLE

Specifies that the graphic can be selected by clicking on it.

Collapse M_SPECIFIC_FEATURES_EDITABLE

Sets whether a graphic can be modified via user interaction in an interactive display using handles that are specific to its graphic type. If a graphic is not visible, not selectable, or not editable, it cannot be modified using type-specific handles and the setting is ignored.

This setting applies to all types of graphics except dots (MgraDots()), text (MgraText()), sets of finite length lines (MgraLines() with M_LINE_LIST), and drawings created using a processing or analysis module draw function (M...Draw()). Enabling this setting when specifying an unsupported graphic type will generate an error. INQ

(summarize)
Collapse M_DISABLE

Specifies that the graphic cannot be modified via user interaction and its specific feature handles will not be displayed if a graphic is selected. Note that the graphic can still be modified using MgraControlList().

(summarize)
Collapse M_ENABLE

Specifies that the graphic can be modified via user interaction by clicking and dragging one of the type-specific handles.

Collapse M_VISIBLE

Sets whether a graphic is rendered on the display. Note that a graphic that is not visible will not be affected by any user interaction in an interactive display.

This setting applies to all types of graphics. INQ

(summarize)
Collapse M_FALSE

Specifies that the graphic is not rendered.

Collapse M_TRUE

Specifies that the graphic is rendered.

The following ControlType and corresponding ControlValue parameter settings are used to change the settings inherited from the graphics context when text (MgraText()) is added to the list.

In this case, the LabelOrIndex parameter can be set to the label or index of text in the graphics list and the SubIndex parameter must be set to M_DEFAULT. Attempting to change one of the following settings on graphics other than text will generate an error.

function map For changing the settings of text
CollapseControlType Description
ControlValue
Collapse M_BACKCOLOR +

Sets the background color of the text. INQ

(summarize)
Collapse
M_RGB888(
MIL_INT Red,
MIL_INT Green,
MIL_INT Blue
)

Specifies an RGB value when drawing in an 8-bit, 3-band buffer. The red, green, and blue values must be between 0 and 255, inclusive.

When drawing in a 16-bit or 32-bit multi-band buffer, the components of the RGB value are cast to the type of the destination buffer's bands.

To specify a 16-bit or 32-bit color component, use MgraControlList() with M_BACKCOLOR combined with the appropriate constant (M_RED, M_GREEN, or M_BLUE).

(summarize)
Parameters

Specifies the red component, as a value between 0 and 255.

Specifies the green component, as a value between 0 and 255.

Specifies the blue component, as a value between 0 and 255.

Collapse M_COLOR_BLACK

Specifies the color black.

Collapse M_COLOR_BLUE

Specifies the color blue.

Collapse M_COLOR_BRIGHT_GRAY

Specifies the color bright gray.

Collapse M_COLOR_CYAN

Specifies the color cyan.

Collapse M_COLOR_DARK_BLUE

Specifies the color dark blue.

Collapse M_COLOR_DARK_CYAN

Specifies the color dark cyan.

Collapse M_COLOR_DARK_GREEN

Specifies the color dark green.

Collapse M_COLOR_DARK_MAGENTA

Specifies the color dark magenta.

Collapse M_COLOR_DARK_RED

Specifies the color dark red.

Collapse M_COLOR_DARK_YELLOW

Specifies the color dark yellow.

Collapse M_COLOR_GRAY

Specifies the color gray.

Collapse M_COLOR_GREEN

Specifies the color green.

Collapse M_COLOR_LIGHT_BLUE

Specifies the color light blue.

Collapse M_COLOR_LIGHT_GRAY

Specifies the color light gray.

Collapse M_COLOR_LIGHT_GREEN

Specifies the color light green.

Collapse M_COLOR_LIGHT_WHITE

Specifies the color light white.

Collapse M_COLOR_MAGENTA

Specifies the color magenta.

Collapse M_COLOR_RED

Specifies the color red.

Collapse M_COLOR_WHITE

Specifies the color white.

Collapse M_COLOR_YELLOW

Specifies the color yellow.

Collapse Value

Specifies a grayscale value. The buffer can be a 1-band or multi-band buffer. The specified value is cast to the buffer type and depth.

Note that a grayscale value can be any integer or floating-point number. If the given value exceeds the range of the possible values that can be stored in each band of the destination buffer, the least significant bits of the value are used.

(summarize)
Collapse M_BACKGROUND_MODE

Sets whether to fill the text's background. INQ

(summarize)
Collapse M_OPAQUE

Specifies that the background will be filled with the current background color before drawing text.

Collapse M_TRANSPARENT

Specifies not to change the background before drawing text. This creates a transparent background for printed characters.

(summarize)
Collapse M_FONT

Sets the font of the characters in text. INQ

(summarize)
Collapse
MIL_FONT_NAME(
MIL_TEXT_PTR * Font
)

Specifies the font. In this case, MgraText() will use TrueType and Unicode features to draw text. This allows you to draw text using different sizes and TrueType fonts installed on your computer. This also allows you to draw any Unicode text (depending on the font).

(summarize)
Parameters

Specifies either a font and its features or a path to a font.

M_FONT_DEFAULT_TTF

Specifies the default TrueType font of your operating system.

MIL_TEXT("FontFamily:Weight:Slant") 1

Specifies the font according to the following format, Family: Weight: Slant.

Family must be set to the name of the font's family, such as Arial, Times New Roman, and Wingdings.

Weight can be set to one of the following: Thin, ExtraLight, UltraLight, Light, Book, Normal, Regular, Medium, SemiBold, DemiBold, Bold, ExtraBold, UltraBold, Heavy, Black, ExtraBlack, or UltraBlack.

Slant can be set to one of the following: Italic, Oblique, or Roman.

You can omit Weight and Slant; also, you can provide the Weight and Slant in any order.

MIL_TEXT("FontFile") 1

Specifies a full path to a TrueType file name.

Collapse M_FONT_DEFAULT

Same as M_FONT_DEFAULT_SMALL.

Collapse M_FONT_DEFAULT_LARGE

Specifies a large bitmap font, where each character is drawn in a 16x32 pixel area.

Collapse M_FONT_DEFAULT_MEDIUM

Specifies a medium bitmap font, where each character is drawn in a 12x24 pixel area.

Collapse M_FONT_DEFAULT_SMALL

Specifies a small bitmap font, where each character is drawn in a 8x16 pixel area.

Collapse M_FONT_AUTO_SELECT

Sets whether MIL should search for a suitable font to draw text if the currently selected font (M_FONT) is a TrueType font that does not support the character code. MIL will first attempt to make its selection from already used fonts, and then from system fonts. INQ

(summarize)
Collapse M_DISABLE

Specifies that MIL will not search for a suitable font. An error is returned if the character code cannot be drawn using the current TrueType font.

(summarize)
Collapse M_ENABLE

Specifies that MIL will search for a suitable font.

Collapse M_FONT_SIZE

Sets the size to draw text when using a TrueType font. When using a bitmap font, use M_FONT_X_SCALE and M_FONT_Y_SCALE to set the font size. INQ

(summarize)
Collapse Value >= 1

Specifies the text's font size, in points.

Collapse M_FONT_X_SCALE

Sets the font's horizontal scaling factor. This setting only applies to bitmap fonts. For TrueType fonts, use M_FONT_SIZE to set the font size. INQ

(summarize)
Collapse Value > 0

Specifies the factor by which to multiply the width of the font characters. Note that using a font with a scale of 1.0 accelerates text drawing.

(summarize)
Collapse M_FONT_Y_SCALE

Sets the font's vertical scaling factor. This setting only applies to bitmap fonts. For TrueType fonts, use M_FONT_SIZE to set the font size. INQ

(summarize)
Collapse Value > 0

Specifies the factor by which to multiply the height of the font characters. Note that using a font with a scale of 1.0 accelerates text drawing.

(summarize)
Collapse M_TEXT_ALIGN_HORIZONTAL

Sets the horizontal alignment of text.

The alignment is relative to the point at which the text starts, as specified using MgraText() or using MgraControlList() with M_POSITION_X. INQ

(summarize)
Collapse M_CENTER

Specifies that text is horizontally centered.

Collapse M_LEFT

Specifies that text is left-aligned.

Collapse M_RIGHT

Specifies that text is right-aligned.

Collapse M_TEXT_ALIGN_VERTICAL

Sets the vertical alignment of text.

The alignment is relative to the point at which the text starts, as specified using MgraText() or using MgraControlList() with M_POSITION_Y. INQ

(summarize)
Collapse M_BOTTOM

Specifies that text is bottom-aligned.

Collapse M_CENTER

Specifies that text is vertically centered.

Collapse M_TOP

Specifies that text is top-aligned.

Collapse M_TEXT_BORDER

Sets borders around the text.

Note that the possible settings can be combined. For example, to draw a box around the text, use M_TOP + M_BOTTOM + M_LEFT + M_RIGHT. INQ

(summarize)
Collapse M_BOTTOM

Specifies that a line is drawn underneath the text.

Collapse M_LEFT

Specifies that a line is drawn to the left of the text.

Collapse M_NONE

Specifies that no border is drawn around the text. This setting cannot be combined with any other setting.

(summarize)
Collapse M_RIGHT

Specifies that a line is drawn to the right of the text.

Collapse M_TOP

Specifies that a line is drawn above the text.

Collapse M_TEXT_DIRECTION

Sets the direction to draw text when using a TrueType font. INQ

(summarize)
Collapse M_LEFT_TO_RIGHT

Specifies that text will be drawn from left to right.

Collapse M_RIGHT_TO_LEFT

Specifies that text will be drawn from right to left.

1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().

You can add one of the following values to the above-mentioned values to specify the color component.

function map For specifying the color component (for 16- or 32-bit multi-band buffers)
CollapseCombination value Description
Collapse M_BLUE

Specifies the blue color component.

Collapse M_GREEN

Specifies the green color component.

Collapse M_RED

Specifies the red color component.

The following ControlType and corresponding ControlValue parameter settings are used to change a graphic's characteristics that have been set using the Mgra...() function with which the graphic was added to the list. In this case, the LabelOrIndex parameter can be set to one or all graphics. Unless otherwise specified, the SubIndex parameter should be set to M_DEFAULT.

function map For changing the position and dimensional information of a graphic
CollapseControlType Description
ControlValue
Collapse M_ANGLE

Sets the angle of the graphic.

This setting applies to all types of graphics except dot (MgraDot()), text (MgraText()), and drawings created using a processing or analysis module draw function (M...Draw()). INQ

(summarize)
Collapse -360.0 <= Value <= 360.0

Specifies the angle, in degrees, relative to the input coordinate system specified using M_INPUT_UNITS.

An angle interpreted with respect to the pixel coordinate system is always measured counter-clockwise. For information on the angle's direction of rotation when interpreting the angle with respect to the relative coordinate system, see the Angle convention in MIL subsection of the Working with real-world units section of Chapter 25: Calibrating your camera setup.

(summarize)
Collapse M_ANGLE_END

Sets the angle at which to stop drawing the arc.

This setting only applies to arcs (MgraArc(), MgraArcFill(), and MgraArcAngle()). INQ

(summarize)
Collapse Value

Specifies the end angle, in degrees, relative to the input coordinate system specified using M_INPUT_UNITS.

An angle interpreted with respect to the pixel coordinate system is always measured counter-clockwise. For information on the angle's direction of rotation when interpreting the angle with respect to the relative coordinate system, see the Angle convention in MIL subsection of the Working with real-world units section of Chapter 25: Calibrating your camera setup.

(summarize)
Collapse M_ANGLE_START

Sets the angle at which to start drawing the arc.

This setting only applies to arcs (MgraArc(), MgraArcFill(), and MgraArcAngle()). INQ

(summarize)
Collapse Value

Specifies the start angle, in degrees, relative to the input coordinate system specified using M_INPUT_UNITS.

An angle interpreted with respect to the pixel coordinate system is always measured counter-clockwise. For information on the angle's direction of rotation when interpreting the angle with respect to the relative coordinate system, see the Angle convention in MIL subsection of the Working with real-world units section of Chapter 25: Calibrating your camera setup.

(summarize)
Collapse M_ARC_STYLE

Sets whether to draw an arc or a sector.

This setting only applies to arcs (MgraArc(), MgraArcFill(), and MgraArcAngle()). INQ

(summarize)
Collapse M_CONTOUR

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.

Collapse M_SECTOR

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.

Collapse M_CONSTRAIN_ASPECT_RATIO

Sets whether to force the width and height of a graphic to be equal. This control type affects both interactive and programmatic manipulations.

This setting applies to arcs (MgraArc(), MgraArcFill(), and MgraArcAngle()) and rectangles (MgraRect(), MgraRectFill(), and MgraRectAngle()). INQ

(summarize)
Collapse M_DISABLE

Specifies that the width and height of a graphic are not forced to be equal.

Collapse 1.0

Specifies that the width and height of a graphic are forced to be equal. Changing this setting on a graphic that does not meet this condition will change the dimensions of the graphic accordingly. Any attempts to change one of the dimensions, either programatically or interactively, will scale the other so that the condition is met.

(summarize)
Collapse M_FILLED

Sets whether to fill the graphic.

This setting only applies to arcs (MgraArc(), MgraArcFill(), and MgraArcAngle()), polygons (MgraLines() with M_POLYGON), and rectangles (MgraRect(), MgraRectFill(), and MgraRectAngle()). INQ

(summarize)
Collapse M_FALSE

Specifies that the graphic is not filled.

Collapse M_TRUE

Specifies that the graphic is filled.

Collapse M_POSITION_TYPE

Sets how to interpret M_POSITION_X and M_POSITION_Y for a rectangle.

This setting only applies to rectangles (MgraRect(), MgraRectFill(), and MgraRectAngle()). INQ

(summarize)
Collapse M_CENTER_AND_DIMENSION

Specifies to interpret M_POSITION_X and M_POSITION_Y as the rectangle's center.

Collapse M_CORNER_AND_DIMENSION

Specifies to interpret M_POSITION_X and M_POSITION_Y as the rectangle's top-left corner.

Collapse M_POSITION_X

Sets the X-position of a graphic or of one of its sub-elements (position-points).

If SubIndex is set to M_DEFAULT, this setting affects the entire graphic. If a sub-element is specified, a single point, within the graphic, is affected by this setting.

This setting applies to all types of graphics except drawings created using a processing or analysis module draw function (M...Draw()). INQ

(summarize)
Collapse Value

Specifies the X-position. You can specify any positive or negative value.

(summarize)
Collapse M_POSITION_Y

Sets the Y-position of a graphic or of one of its sub-elements (position-points).

If SubIndex is set to M_DEFAULT, this setting affects the entire graphic. If a sub-element is specified, a single point, within the graphic, is affected by this setting.

This setting applies to all types of graphics except drawings created using a processing or analysis module draw function (M...Draw()). INQ

(summarize)
Collapse Value

Specifies the Y-position. You can specify any positive or negative value.

(summarize)
Collapse M_RADIUS_X

Sets the radius of the arc, in the X-direction.

This setting only applies to arcs (MgraArc(), MgraArcFill(), and MgraArcAngle()). INQ

(summarize)
Collapse Value >= 0

Specifies the radius.

Collapse M_RADIUS_Y

Sets the radius of the arc, in the Y-direction.

This setting only applies to arcs (MgraArc(), MgraArcFill(), and MgraArcAngle()). INQ

(summarize)
Collapse Value >= 0

Specifies the radius.

Collapse M_RECTANGLE_HEIGHT

Sets the height of the rectangle.

This setting only applies to rectangles (MgraRect(), MgraRectFill(), and MgraRectAngle()). INQ

(summarize)
Collapse Value

Specifies the height.

Collapse M_RECTANGLE_WIDTH

Sets the width of the rectangle.

This setting only applies to rectangles (MgraRect(), MgraRectFill(), and MgraRectAngle()). INQ

(summarize)
Collapse Value

Specifies the width.

The following ControlType and corresponding ControlValue parameter settings are used to perform geometric operations on graphics. Using one of the following operations on a graphic will change its current position and dimensional settings (the settings listed in the For changing the position and dimensional information of a graphic table). Once an operation has occurred, the value specfied cannot be inquired.

In this case, the LabelOrIndex parameter can be set to one or all graphics. Unless otherwise specified, the SubIndex parameter should be set to M_DEFAULT.

function map For performing geometric operations on graphics
CollapseControlType Description
ControlValue
Collapse M_APPLY_SCALE

Performs a uniform scaling operation on the graphic. A uniform scaling operation enlarges or shrinks graphics by a scale factor in both X- and Y-directions, relative to the point specified by M_POSITION_X and M_POSITION_Y; the point specified by M_POSITION_X and M_POSITION_Y remains the same after a uniform scaling operation. For example, if you specify a scale factor of one half to dots (MgraDots()), each dot will have its distance from M_POSITION_X and M_POSITION_Y reduced by one half.

This setting applies to all types of graphics except dot (MgraDot()) and drawings created using a processing or analysis module draw function (M...Draw()).

(summarize)
Collapse Value > 0.0

Specifies the scale factor.

Collapse M_ROTATE

Performs a rotation operation on the graphic. Graphics are rotated around the point specified with M_POSITION_X and M_POSITION_Y.

This setting applies to all types of graphics except dot (MgraDot()), text (MgraText()), and drawings created using a processing or analysis module draw function (M...Draw()).

(summarize)
Collapse -360.0 <= Value <= 360.0

Specifies the angle of rotation, in degrees, relative to the input coordinate system specified using M_INPUT_UNITS. The value specified will be added to the graphic's current angle (M_ANGLE).

An angle interpreted with respect to the pixel coordinate system is always measured counter-clockwise. For information on the angle's direction of rotation when interpreting the angle with respect to the relative coordinate system, see the Angle convention in MIL subsection of the Working with real-world units section of Chapter 25: Calibrating your camera setup.

(summarize)
Collapse M_TRANSLATE_X

Performs a horizontal translation of a graphic, or one of its sub-elements.

If SubIndex is set to M_DEFAULT, this setting affects the entire graphic. If a sub-element is specified, a single point, within the graphic, is affected by this setting.

This setting applies to all types of graphics except drawings created using a processing or analysis module draw function (M...Draw()).

(summarize)
Collapse Value

Specifies the horizontal displacement. You can specify any positive or negative value. The value specified will be added to the graphic's current X-position (M_POSITION_X).

(summarize)
Collapse M_TRANSLATE_Y

Performs a vertical translation of a graphic, or one of its sub-elements.

If SubIndex is set to M_DEFAULT, this setting affects the entire graphic. If a sub-element is specified, a single point, within the graphic, is affected by this setting.

This setting applies to all types of graphics except drawings created using a processing or analysis module draw function (M...Draw()).

(summarize)
Collapse Value

Specifies the vertical displacement. You can specify any positive or negative value. The value specified will be added to the graphic's current Y-position (M_POSITION_Y).

(summarize)

The following ControlType and corresponding ControlValue parameter settings are used to delete graphics from the graphics list. The LabelOrIndex parameter can be set to one or all graphics and the SubIndex parameter must be set to M_DEFAULT.

function map For deleting graphics (one or all) from the list
CollapseControlType Description
ControlValue
Collapse M_DELETE

Deletes the graphic (one or all), as specified by the LabelOrIndex parameter setting. When a graphic is deleted, the indices of the graphics list are reassigned; that is, index values greater than that of the removed graphic are reduced by one.

(summarize)
Collapse M_DEFAULT

Implements the default behavior.

Type-specific versions of the function
void MgraControlListDouble (MIL_ID GraListId, MIL_INT LabelOrIndex, MIL_INT SubIndex, MIL_INT64 ControlType, MIL_DOUBLE ControlValue)
Parameters

GraListId

See GraListId of the main function for a description.

LabelOrIndex

See LabelOrIndex of the main function for a description.

SubIndex

See SubIndex of the main function for a description.

ControlType

See ControlType of the main function for a description.

ControlValue

See ControlValue of the main function for a description.

void MgraControlListInt64 (MIL_ID GraListId, MIL_INT LabelOrIndex, MIL_INT SubIndex, MIL_INT64 ControlType, MIL_INT64 ControlValue)
Parameters

GraListId

See GraListId of the main function for a description.

LabelOrIndex

See LabelOrIndex of the main function for a description.

SubIndex

See SubIndex of the main function for a description.

ControlType

See ControlType of the main function for a description.

ControlValue

See ControlValue of the main function for a description.

Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll.
ALL ALL SELECTED LIST DEFAULT INTERACTIVE ANNOTATIONS COLOR COLOR BLACK COLOR BLUE COLOR BRIGHT GRAY COLOR CYAN COLOR DARK BLUE COLOR DARK CYAN COLOR DARK GREEN COLOR DARK MAGENTA COLOR DARK RED COLOR DARK YELLOW COLOR GRAY COLOR GREEN COLOR LIGHT BLUE COLOR LIGHT GRAY COLOR LIGHT GREEN COLOR LIGHT WHITE COLOR MAGENTA COLOR RED COLOR WHITE COLOR YELLOW MULTIPLE SELECTION DISABLE ENABLE SELECTED COLOR COLOR BLACK COLOR BLUE COLOR BRIGHT GRAY COLOR CYAN COLOR DARK BLUE COLOR DARK CYAN COLOR DARK GREEN COLOR DARK MAGENTA COLOR DARK RED COLOR DARK YELLOW COLOR GRAY COLOR GREEN COLOR LIGHT BLUE COLOR LIGHT GRAY COLOR LIGHT GREEN COLOR LIGHT WHITE COLOR MAGENTA COLOR RED COLOR WHITE COLOR YELLOW SELECTION RADIUS COLOR COLOR BLACK COLOR BLUE COLOR BRIGHT GRAY COLOR CYAN COLOR DARK BLUE COLOR DARK CYAN COLOR DARK GREEN COLOR DARK MAGENTA COLOR DARK RED COLOR DARK YELLOW COLOR GRAY COLOR GREEN COLOR LIGHT BLUE COLOR LIGHT GRAY COLOR LIGHT GREEN COLOR LIGHT WHITE COLOR MAGENTA COLOR RED COLOR WHITE COLOR YELLOW DRAW OFFSET X DEFAULT DRAW OFFSET Y DEFAULT DRAW ZOOM X DEFAULT DRAW ZOOM Y DEFAULT FIXTURE USE DESTINATION FIRST USE SOURCE FIRST GRAPHIC CONVERSION MODE PRESERVE SHAPE AVERAGE RESHAPE FOLLOWING DISTORTION RESHAPE FROM POINTS GRAPHIC SOURCE CALIBRATION NULL NULL INPUT UNITS DISPLAY PIXEL WORLD EDITABLE DISABLE ENABLE GRAPHIC SELECTED FALSE TRUE MOVABLE DISABLE ENABLE RESIZABLE DISABLE ENABLE ROTATABLE DISABLE ENABLE SELECTABLE DISABLE ENABLE SPECIFIC FEATURES EDITABLE DISABLE ENABLE VISIBLE FALSE TRUE BACKCOLOR COLOR BLACK COLOR BLUE COLOR BRIGHT GRAY COLOR CYAN COLOR DARK BLUE COLOR DARK CYAN COLOR DARK GREEN COLOR DARK MAGENTA COLOR DARK RED COLOR DARK YELLOW COLOR GRAY COLOR GREEN COLOR LIGHT BLUE COLOR LIGHT GRAY COLOR LIGHT GREEN COLOR LIGHT WHITE COLOR MAGENTA COLOR RED COLOR WHITE COLOR YELLOW BACKGROUND MODE OPAQUE TRANSPARENT FONT FONT DEFAULT TTF FONT DEFAULT FONT DEFAULT LARGE FONT DEFAULT MEDIUM FONT DEFAULT SMALL FONT AUTO SELECT DISABLE ENABLE FONT SIZE FONT X SCALE FONT Y SCALE TEXT ALIGN HORIZONTAL CENTER LEFT RIGHT TEXT ALIGN VERTICAL BOTTOM CENTER TOP TEXT BORDER BOTTOM LEFT NONE RIGHT TOP TEXT DIRECTION LEFT TO RIGHT RIGHT TO LEFT BLUE GREEN RED ANGLE ANGLE END ANGLE START ARC STYLE CONTOUR SECTOR CONSTRAIN ASPECT RATIO DISABLE FILLED FALSE TRUE POSITION TYPE CENTER AND DIMENSION CORNER AND DIMENSION POSITION X POSITION Y RADIUS X RADIUS Y RECTANGLE HEIGHT RECTANGLE WIDTH APPLY SCALE ROTATE TRANSLATE X TRANSLATE Y DELETE DEFAULT LIST DEFAULT LIST DEFAULT GRAPHIC TYPE TEXT LIST ALL ALL SELECTED DEFAULT