Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ curorigin(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



curorigin(3G)                                                    curorigin(3G)



NAME
     curorigin - sets the origin of a cursor

C SPECIFICATION
     void curorigin(n, xorign, yorign)
     short n, xorign, yorign;

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

     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
     curorigin 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 curorigin,
     the cursor must be defined with defcursor.  curorigin does not take
     effect until you call setcursor.

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

SEE ALSO
     attachcursor, defcursor, setcursor

NOTE
     This routine is available only in immediate mode.

























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026