mcRotatePreviewToolCommandFlags Enumeration
|
|
Legal values for the McRotateGridTool's
IMcGraphToolServer.CommandFlags property.
Namespace:
MediaCy.IQL.Display.Overlays
Assembly:
MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
SyntaxPublic Enumeration mcRotatePreviewToolCommandFlags
Members
| Member name | Value | Description |
---|
| mcrptcfNoFlags | 0 | No flags. |
| mcrptcfHonorAoi | 1 | Option flag: If set and norotation rectangle has been set (see mcrptcfSetRotationRect), then the rotation
rectangle will be the bounds of the Aoi and the unconstrained bounds (see
mcrptcfKeepPreviewBoundsConstantSize) will be the . |
| mcrptcfKeepPreviewBoundsConstantSize | 2 | Option flag: If set, asthe preview image is rotated in an un-rotated
rectangle that is the same size as the rotation rectangle (see
mcrptcfSetRotationRect). If not set, then the the preview bounds
are expanded to occupy the full rotated rectangle. |
| mcrptcfShowReferenceGrid | 4 | Option flag: If set, a referencegrid is shown at an angle, color and spacing set by the mcrptcfSetRotationAngleRefGrid,
mcrptcfSetGridColor and mcrptcfSetGridSpacing Action Flags. |
| mcrptcfShowDestBoundingRect | 8 | Option flag: If set, a rectanglebounding the destination rectangle, based on the mcrptcfKeepPreviewBoundsConstantSize
state, is shown at a color set by the mcrptcfSetGridColor Action Flag. |
| mcrptcfShowSrcRoiAtAngle | 16 | Option flag: If set, the sourceROI is shown along with the rotated preview. This ROI will be either the image Aoi, if
the mcrptcfHonorAoi flag is set, or a simple box surrounding the entire preview image. |
| mcrptcfGetRotationRect | 4097 | Action flag: Get therotation rectangle into CommandData. Once the CommandData is gotten to
retrieve the result, it is cleared. |
| mcrptcfGetRotationAngleOfPreview | 4098 | Action flag: Get the rotationangle of the preview image in degrees into CommandData as a double. Once the CommandData is
gotten to retrieve the result, it is cleared. This is the angle that the user rotates. |
| mcrptcfSetRotationAngleOfPreview | 4099 | Action flag: Set the rotationangle of the preview image in degrees from CommandData cast to a double. Once the CommandData is
used to set the value, it is cleared. |
| mcrptcfSetPreviewOpacity | 4100 | Action flag: Set the Opacity ofthe preview overlay as a percentage from 0 to 100 from CommandData cast to an integer.
Once the CommandData is used to set the value, it is cleared. By default the opacity is
75%. |
| mcrptcfSetRotationAngleRefGrid | 4101 | Action flag: Set the rotationangle of the reference grid in degrees from CommandData cast to a double. Once the CommandData is
used to set the value, it is cleared. |
| mcrptcfSetGridColor | 4102 | Action flag: Set the linecolor for the grid from CommandData cast to a long. Once the CommandData is
used to set the value, it is cleared. By default the color is yellow. |
| mcrptcfSetGridSpacing | 4103 | Action flag: Set the linespacing, in pixels, for the grid from CommandData cast to a long. Once the
CommandData is used to set the value, it is cleared. By default the grid
spacing is 25 pixels. If necessary, the grid spacing will be reduced so
that at least 4 grids are shown along each axis of the rotation rectangle. |
| mcrptcfSetActiveView | 4104 | Action flag: Set the activeMcView, for the grid from CommandData. If given, this is used to set
the grid spacing based on the view's Magnification property when the
grid is first drawn, rather than later, when the user clicks in a window. |
| mcrptcfSetPreviewImage | 4105 | Action flag: Set the previewMcImage from CommandData. If given, this is used to set the preview image. If not
given, the preview image is the ancestor image of the McGraphOverlay on which the tool
is invoked (via SelectTool). The tool cannot function without a preview image. |
| mcrptcfStartRotatePreview | 4106 | Action flag: On the nextmouse move (or immediately if CommandData is an McView object), initiate
rotation tracking as if the left mouse button were pressed. |
| mcrptcfStopRotatePreview | 4107 | Action flag: Stop rotationtracking as if the left mouse button were released. |
See Also