Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ modify(3) — libiris R1c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

modify(3)  —  Unix Programmer’s Manual

NAME

modify - define a linear mapping between a valuator and a command argument

SYNOPSIS

C
modify(obj, tagname, offst, argnum, a, b, v)
Object obj;
Tag tagname;
Offset offst;
short argnum;
float a, b;
Device v;

FORTRAN
subroutine modify(obj, tagnam, offst, argnum, a, b, v)
integer obj, tagnam, offst
integer∗2 argnum, v
real a, b

Pascal
procedure modify(obj: Object; tagname: Tag; offst: Offset;
argnum: Short; a, b: real; v: Device);

DESCRIPTION

The modify command provides a general mechanism for defining a linear mapping between an input device and a command argument.  The first four parameters, obj, tagname, offst, and argnum, uniquely define an argument to a command in a display list.  The next two, a and b, are coefficients used in the computation of the new value for the selected argument, and v selects a valuator device.  The mapping is a $times$ getvaluator(v) + b. 

The modify is implemented for the following commands:

cmov cmovi cmov2 cmov2i
draw drawi draw2 draw2i
move movei move2 move2i
pnt pnti pnt2 pnt2i
rect recti rectf rectfi
lookat perspective scale
ortho polarview translate
ortho2 rotate window

SEE ALSO

getvaluator

Silicon Graphics  —  R1c

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