158 IRIS WORKSTATION GUIDE
Version 1.0
Appendix L:
L.5 Changes to existing commands
width
, in
linewidth(width)
, can be arbitrary (in GL 1 it had to be 1 or 2).
The matrix stack depth is no longer limited to 8. There is a hardware stack
limit of 8, but on overflow the extra matrices are stored in software.
Obviously, pushing and popping matrices is faster if the stack is shorter than
8.
L.6 Additional commands
blankscreen(on/off)
-- turns off the display. This is useful during massive
color map changes -- garbage does not appear on the screen.
getcpos(&ix, %iy)
-- get the current character position, and returns it in the
variables
ix
and
iy
.
getgpos(&fx, %fy, &fz)
-- get the current graphics position, and returns it in
fx
,
fy
, and
fz
.
getopenobj()
-- returns the object identifier of the object currently open for
editing. If there is no open object, it returns -1.
getmcolor(color, &r, &g, &b)
-- given a colormap index, return its red, green,
and blue components.
pmov(), pmovi(), pmov2(), pmov2i()
-- polygon move. With these, you can use
your own data structures for polygons. Polygons must still be convex or the
result of drawing them is undefined.
pdrw()], pdrwi()], prw2()], pdrw2i()
-- polygon draw.
pclose()
-- polygon close.
rmov(), rmovi(), rmov2(), rmov2i()
-- relative move.
rdrw(), rdrwi(), rdrw2(), rdrw2i()
-- relative draw.
rpmv(), rpmvi(), rpmv2(), rpmv2i()
-- relative polygon move.
rpdr(), rpdri(), rpdr2(), rpdr2i()
-- relative polygon draw.
L.7 Feedback
GL 1.9 still supports the old GL 1 versions of the feedback routines. The
feedback routines. include
transform()
,
clippnt()
,
clipline()
,
clippoly()
,
and
screenpnt()
. In GL 2, these routines will be replaced by a much more
general
feedback()
command. To simplify conversion to GL 2, keep references
to the GL 1 versions of the above commands localized.
Summary of Contents for IRIS Workstation
Page 1: ...IRIS Workstation Guide Version 1 0 Silicon Graphics Inc Mountain View California 94043 ...
Page 6: ...2 IRIS WORKSTATION GUIDE Version 1 0 Introduction ...
Page 24: ...20 IRIS WORKSTATION GUIDE Version 1 0 Hardware Installation ...
Page 30: ...26 IRIS WORKSTATION GUIDE Version 1 0 Operation ...
Page 48: ...44 IRIS WORKSTATION GUIDE Version 1 0 System Administration ...
Page 50: ...46 IRIS WORKSTATION GUIDE Version 1 0 Appendix A ...
Page 74: ...70 IRIS WORKSTATION GUIDE Version 1 0 Appendix B ...
Page 77: ...Version 1 0 IRIS WORKSTATION GUIDE 73 Appendix C e random gr error f wnrepaint ...
Page 78: ...74 IRIS WORKSTATION GUIDE Version 1 0 Appendix C ...
Page 92: ...88 IRIS WORKSTATION GUIDE Version 1 0 Appendix D ...
Page 102: ...98 IRIS WORKSTATION GUIDE Version 1 0 Appendix E ...
Page 103: ...Appendix F Manual Pages ...
Page 104: ......
Page 131: ...Version 1 0 126 IRIS WORKSTATION GUIDE Appendix F ...
Page 132: ......
Page 136: ...130 IRIS WORKSTATION GUIDE Version 1 0 Appendix H ...
Page 152: ...146 IRIS WORKSTATION GUIDE Version 1 0 Appendix J ...