McIDAS-X User's Guide
Version 2023.1

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


CUR

Defines cursor size, type and color.


Formats

CUR height width type color
CUR height width type blue green red
CUR option


Parameters

height

cursor height in pixels; even size is rounded up to odd size; if entered as X, the size does not change (default=31)

width

cursor width in pixels; even size is rounded up to odd size (default=height)

type

BOX

box cursor

 

XHAIR

crosshair cursor (default)

 

XBOX

crosshair inside box cursor

 

SOLID

solid box cursor

color

predefined color name; see the Remarks (default=red)

blue

blue color intensity; the range is 0 to 255 (default=0)

green

green color intensity; the range is 0 to 255 (default=0)

red

red color intensity; the range is 0 to 255 (default=255)

option

ON

makes the cursor visible (default)

 

OFF

makes the cursor invisible

 

STAT  option

displays the image statistics from under the cursor

 

            ON

displays the image statistics at the top of the frame

 

            OFF

makes the image statistics invisible (default)

 

            CUR

displays the image statistics at the cursor location

 

            SHIFT

displays the image statistics at the cursor location when the shift key is pressed


Remarks

Command GU COLORS lists the valid predefined cursor colors.

The color default only applies when entering CUR with no positional parameters. For all other command formats, the default is the current color.


Examples

CUR

This entry displays a 31 x 31 red crosshair cursor.

CUR 21

This entry makes the cursor 21 x 21 pixels.

CUR 20 40 BOX GREEN

This entry changes the cursor to a green box, 21 x 41 pixels.

CUR 40 30 XBOX BLUE

This entry makes a 41 x 31 pixel, blue, crosshair inside box cursor.

CUR X 53 XHAIR

This entry makes a crosshair cursor, 53 pixels wide; the height and color do not change.

CUR 32 25 BOX 200 80 120

This entry makes a 33 x 25 box cursor colored by the intensities for blue, green and red as 200, 80 and 120, respectively.

CUR OFF

This entry turns off the cursor making it invisible.

CUR STAT ON

This entry displays the image statistics from the cursor location at the top of the frame.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]