Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcpos(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



getcpos(3G)                                                        getcpos(3G)



NAME
     getcpos - returns the current character position

C SPECIFICATION
     void getcpos(ix, iy)
     short *ix, *iy;

PARAMETERS
     ix   expects the pointer to the location at which to write the x
          coordinate of the current character position.

     iy   expects the pointer to the location at which to write the y
          coordinate of the current character position.

DESCRIPTION
     getcpos gets the current character position and writes it into the
     parameters.  For purely historical reasons, the returned values are
     offset by the window origin; i.e. they are absolute screen coordinates.

     When the current character position is undefined, the action of this
     routine is undefined.

SEE ALSO
     charstr, cmov, getgpos

NOTE
     This routine is available only in immediate mode.




























                                                                        Page 1



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