curori(3G)

curori - sets the origin of a cursor

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     curori - sets the origin of a cursor

FORTRAN 77 SPECIFICATION
     subroutine curori(n, xorign, yorign)
     integer*4 n, xorign, yorign

PARAMETERS
     n        expects an index into the cursor table created by defcur.

     xorign   expects the x distance of the origin relative to the lower left
              corner of the cursor.

     yorign   expects the y distance of the origin relative to the lower left
              corner of the cursor.

DESCRIPTION
     curori sets the origin of a cursor.  The origin is the point on the
     cursor that aligns with the current cursor valuators.  The lower left
     corner of the cursor has coordinates (0,0).  Before calling curori, the
     cursor must be defined with defcur.  curori does not take effect until
     you call setcur.

     The default origin for curori is at (0,0) for user-defined glyphs.

SEE ALSO
     attach, defcur, setcur

NOTE
     This routine is available only in immediate mode.