Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

curorigin()  —  Silicon Graphics

NAME

curorigin − sets the origin of a cursor

SPECIFICATION

C
curorigin(n, xorigin, yorigin)
short n, xorigin, yorigin;

FORTRAN
subroutine curori(n, xorigin, yorigin)
integer*4 n, xorigin, yorigin

Pascal
procedure curorigin(n, xorigin, yorigin: longint);

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.  n is an index into the cursor table created by defcursor.  curorigin does not take effect until you call setcursor. 

SEE ALSO

attachcursor, defcursor, setcursor IRIS Graphics Programming, Section 6.4, Cursors

NOTE

This routine is available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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