If you want to set a special cursor type, use the following function:
void AcEdJig::setSpecialCursorType(AcEdJig::CursorType);
The CursorType can be one of the values in the following table.
Cursor types |
|
---|---|
Cursor |
Description |
kCrosshair |
Crosshairs aligned with the user coordinate system (UCS) |
kRectCursor |
Rectangular window cursor aligned with the display coordinate system |
kRubberBand |
Same as kCrosshair, except also displays a rubber band from the base point |
kTargetBox |
OSNAP cursor; similar to kEntitySelect cursor, except its size is controlled by the system variable $APERTURE |
kCrosshairNoRotate |
Crosshairs aligned with the display coordinate system |
kInvisible |
No cursor graphics; only entity graphics are displayed |
kEntitySelect |
Single entity pick box; the entity is not actually selected in this case. Entity selection is handled with acedSSGet() |
kParallelogram |
Rectangle aligned with the UCS (can be a parallelogram on the display) |
kEntitySelectNoPersp |
Same as kEntitySelect, except the pick box is suppressed in perspective view; used when a precise geometric point is needed along with the picked entity |
kPkfirstOrGrips |
Default cursor; what the cursor looks like “between” commands |
kArrow |
Displays the arrow cursor used for dialog boxes in AutoCAD |
This step is optional. With the acquirePoint() functions, you can specify this alternate cursor. Setting the cursor type for the acquireDist() and acquireAngle() functions has no effect. The acquireXXX() functions select a cursor for you if you don't explicitly specify one.