Filewatcher File Search
FTP Search
  
Directory (beta)
  
Content Search (beta)
   
pkg://vogl-1.2.8-1.i386.rpm:118525/usr/doc/vogl-1.2.8-1/vogl.ps  info  downloads

%!PS-Adobe-3.0
%%Creator: groff version 1.09
%%CreationDate: Tue Jul 19 08:43:51 1994
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
%%DocumentSuppliedResources: procset grops 1.09 0
%%Pages: 29
%%PageOrder: Ascend
%%Orientation: Portrait
%%EndComments
%%BeginProlog
%%BeginResource: procset grops 1.09 0
/setpacking where{
pop
currentpacking
true setpacking
}if
/grops 120 dict dup begin
/SC 32 def
/A/show load def
/B{0 SC 3 -1 roll widthshow}bind def
/C{0 exch ashow}bind def
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
/E{0 rmoveto show}bind def
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
/G{0 rmoveto 0 exch ashow}bind def
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/I{0 exch rmoveto show}bind def
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
/K{0 exch rmoveto 0 exch ashow}bind def
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/M{rmoveto show}bind def
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
/O{rmoveto 0 exch ashow}bind def
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/Q{moveto show}bind def
/R{moveto 0 SC 3 -1 roll widthshow}bind def
/S{moveto 0 exch ashow}bind def
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
/SF{
findfont exch
[exch dup 0 exch 0 exch neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/MF{
findfont
[5 2 roll
0 3 1 roll 
neg 0 0]makefont
dup setfont
[exch/setfont cvx]cvx bind def
}bind def
/level0 0 def
/RES 0 def
/PL 0 def
/LS 0 def
/PLG{
gsave newpath clippath pathbbox grestore
exch pop add exch pop
}bind def
/BP{
/level0 save def
1 setlinecap
1 setlinejoin
72 RES div dup scale
LS{
90 rotate
}{
0 PL translate
}ifelse
1 -1 scale
}bind def
/EP{
level0 restore
showpage
}bind def
/DA{
newpath arcn stroke
}bind def
/SN{
transform
.25 sub exch .25 sub exch
round .25 add exch round .25 add exch
itransform
}bind def
/DL{
SN
moveto
SN
lineto stroke
}bind def
/DC{
newpath 0 360 arc closepath
}bind def
/TM matrix def
/DE{
TM currentmatrix pop
translate scale newpath 0 0 .5 0 360 arc closepath
TM setmatrix
}bind def
/RC/rcurveto load def
/RL/rlineto load def
/ST/stroke load def
/MT/moveto load def
/CL/closepath load def
/FL{
currentgray exch setgray fill setgray
}bind def
/BL/fill load def
/LW/setlinewidth load def
/RE{
findfont
dup maxlength 1 index/FontName known not{1 add}if dict begin
{
1 index/FID ne{def}{ pop pop}ifelse
}forall
/Encoding exch def
dup/FontName exch def
currentdict end definefont pop
}bind def
/DEFS 0 def
/EBEGIN{
moveto
DEFS begin
}bind def
/EEND/end load def
/CNT 0 def
/level1 0 def
/PBEGIN{
/level1 save def
translate
div 3 1 roll div exch scale
neg exch neg exch translate
0 setgray
0 setlinecap
1 setlinewidth
0 setlinejoin
10 setmiterlimit
[] 0 setdash
/setstrokeadjust where{
pop
false setstrokeadjust
}if
/setoverprint where{
pop
false setoverprint
}if
newpath
/CNT countdictstack def
userdict begin
/showpage{} def
}bind def
/PEND{
clear
countdictstack CNT sub{end}repeat
level1 restore
}bind def
end def
/setpacking where{
pop
setpacking
}if
%%EndResource
%%IncludeResource: font Times-Roman
%%IncludeResource: font Times-Bold
%%IncludeResource: font Times-Italic
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
/Times-Roman@0 ENC0/Times-Roman RE
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 9/Times-Bold@0 SF -.18(NA)72 84 S(ME).18 E F0 -.4(VO)108 96 S
(GL \255 A v).4 E(ery ordinary GL Lik)-.15 E 2.5(eL)-.1 G(ibrary)-2.5 E
(.)-.65 E F1(DESCRIPTION)72 124.8 Q/F2 10/Times-Italic@0 SF -.3(VO)108
136.8 S(GL).3 E F0 .174(is a library of C routines which try to allo)
2.674 F 2.673(wap)-.25 G .173
(rogrammer to write programs which can be mo)-2.673 F -.15(ve)-.15 G
2.673(dt).15 G(o)-2.673 E .231(machines which ha)108 148.8 R .531 -.15
(ve t)-.2 H .231
(he Silicon Graphics GL library on them. It is based entirely on the V)
.15 F .232(OGLE graphics)-.4 F(library)108 160.8 Q 2.79(,a)-.65 G .29
(nd as a result can handle circles, curv)-2.79 F .29
(es, arcs, patches, and polygons in a de)-.15 F .29(vice independent f)
-.25 F(ash-)-.1 E .204(ion. Simple hidden line remo)108 172.8 R -.25(va)
-.15 G 2.704(li).25 G 2.704(sa)-2.704 G .204(lso a)-2.704 F -.25(va)-.2
G .204(ilable via polygon backf).25 F .205(acing. Access to hardw)-.1 F
.205(are te)-.1 F .205(xt and dou-)-.15 F .159(ble b)108 184.8 R(uf)-.2
E .159(fering of dra)-.25 F .159(wings depends on the dri)-.15 F -.15
(ve)-.25 G 3.759 -.55(r. T).15 H .159(here is also a FOR).55 F .159
(TRAN interf)-.6 F .159(ace b)-.1 F .159(ut as it goes through)-.2 F
.522(the C routines FOR)108 196.8 R .522(TRAN users are w)-.6 F .522
(arned that arrays are in ro)-.1 F .523
(w-column order in C. Both the long FOR-)-.25 F .23(TRAN names and the \
shortened six character names are supported. People interested in using\
 softw)108 208.8 R .23(are te)-.1 F(xt)-.15 E(should see the hershe)108
220.8 Q 2.5(yl)-.15 G(ibrary)-2.5 E(,)-.65 E F2(HERSHEY\(3\).)2.5 E F0
.978(Some routines are only a)108 244.8 R -.25(va)-.2 G .979
(ilable in V).25 F .979
(OGL. If you include them in programs it is advisable to put #ifdef)-.4
F -.4(VO)108 256.8 S(GL ... #endif around them. The constant V).4 E
(OGL is de\214ned whene)-.4 E -.15(ve)-.25 G 2.5(raV).15 G
(OGL header \214le is included.)-2.9 E .235
(It should be noted that there are a number of routines that tak)108
280.8 R 2.734(et)-.1 G .234(he type)-2.734 F F2(Angle)2.734 E F0 .234
(for some of their parameters.)2.734 F(All angles speci\214ed this w)108
292.8 Q(ay are actually)-.1 E F2(Inte)2.5 E -.1(ge)-.4 G 2.5(rT).1 G
(enths Of De)-3.42 E(gr)-.4 E(ees.)-.37 E F0(\(Don')5 E 2.5(ta)-.18 G
(sk!\))-2.5 E/F3 10/Times-Bold@0 SF(Include \214les.)87 321.6 Q F0 .556
(There are tw)108 333.6 R 3.056(oi)-.1 G .556(nclude \214les pro)-3.056
F .556(vided with v)-.15 F .556(ogl: v)-.2 F .556(ogl.h and v)-.2 F(ode)
-.2 E 3.057(vice.h. The)-.25 F .557(\214le v)3.057 F .557
(ogl.h has the type de\214ni-)-.2 F .368(tions and function interf)108
345.6 R .368(aces, ideally it is included where you w)-.1 F .368
(ould include gl.h on an SGI. The \214le v)-.1 F(ode-)-.2 E
(vice.h has the de)108 357.6 Q
(vices in it, and it is included where you w)-.25 E(ould include de)-.1
E(vice.h on an SGI.)-.25 E F3(The f)87 374.4 Q(ollo)-.25 E
(wing is a brief summary of the V)-.1 E(OGL subr)-.45 E(outines.)-.18 E
(Using X toolkits and Sun)87 386.4 Q(view)-.4 E F0 -.15(Fo)108 398.4 S
3.18(rX).15 G .68(11 and Sun)-3.18 F(vie)-.4 E 3.18(wb)-.25 G .68
(ased applications, it is posible for V)-3.18 F .68(OGL to use a windo)
-.4 F 3.18(wt)-.25 G .68(hat is supplied by that)-3.18 F(application')
108 410.4 Q 4.629(st)-.55 G 2.129(oolkit. Under these circumstances, th\
e toolkit is is responsible for handling of all input)-4.629 F -2.15
-.25(ev e)108 422.4 T .027(nts, and V).25 F .027(OGL simply dra)-.4 F
.027(ws into the supplied)-.15 F(windo)5.028 E 3.828 -.65(w. T)-.25 H
.028(hese calls are only a).65 F -.25(va)-.2 G .028
(ilable from C. Also see).25 F(the directories e)108 434.4 Q
(xamples/xt, e)-.15 E(xamples/xvie)-.15 E 2.5(wa)-.25 G(nd e)-2.5 E
(xamples/sun)-.15 E(vie)-.4 E -.65(w.)-.25 G -.15(Fo)108 458.4 S 2.5
(rXb).15 G(ased toolkits the follo)-2.5 E(wing tw)-.25 E 2.5(oc)-.1 G
(alls may be used:)-2.5 E F2(vo_xt_window\(display)108 475.2 Q 2.5(,x)
-.55 G(win, width, height\))-2.5 E F0 -.7(Te)144 487.2 S(lls V).7 E
(OGL to use the supplied windo)-.4 E(w)-.25 E F2(xwin)2.5 E F0 -.2(vo)
180 511.2 S(_xt_windo).2 E(w\(display)-.25 E 2.5(,x)-.65 G
(win, width, height\))-2.5 E 2.39(Display *display;)216 523.2 R -.4(Wi)
216 535.2 S(ndo).4 E 2.21(wx)-.25 G(win;)-2.21 E 22.94(int width,)216
547.2 R(height;)2.5 E
(This routine should be called before calling "ginit\(\)".)144 571.2 Q
F2(vo_xt_win_size\(width, height\))108 588 Q F0 -.7(Te)144 600 S(lls V)
.7 E(OGL that the supplied windo)-.4 E 2.5(wh)-.25 G(as changed size.)
-2.5 E -.2(vo)180 624 S(_xt_win_size\(width, height\)).2 E 22.94
(int width,)216 636 R(height;)2.5 E F2(vo_xt_g)108 664.8 Q
(et_display\(\))-.1 E F0(Returns the current display that V)144 676.8 Q
(OGL belei)-.4 E -.15(ve)-.25 G 2.5(si).15 G 2.5(ti)-2.5 G 2.5(su)-2.5 G
(sing.)-2.5 E(Display *)164 688.8 Q -.2(vo)164 700.8 S
(_xt_get_display\(\)).2 E -.4(VO)72 768 S(GL 1.2.8).4 E(12 Oct 1993)
159.41 E(1)204.28 E EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 10/Times-Italic@0 SF(vo_xt_g)108 84 Q(et_window\(\))-.1 E F0
(Returns the current windo)144 96 Q 2.5(wt)-.25 G(hat V)-2.5 E
(OGL belei)-.4 E -.15(ve)-.25 G 2.5(si).15 G 2.5(ti)-2.5 G 2.5(su)-2.5 G
(sing.)-2.5 E -.4(Wi)164 108 S(ndo).4 E(w)-.25 E -.2(vo)164 120 S
(_xt_get_windo).2 E(w\(\))-.25 E F1(vo_xt_g)108 148.8 Q(et_GC\(\))-.1 E
F0(Returns the current Graphics Conte)144 160.8 Q(xt that V)-.15 E
(OGL belei)-.4 E -.15(ve)-.25 G 2.5(si).15 G 2.5(ti)-2.5 G 2.5(su)-2.5 G
(sing.)-2.5 E(GC)164 172.8 Q -.2(vo)164 184.8 S(_xt_get_GC\(\)).2 E -.15
(Fo)108 237.6 S 2.5(rs).15 G(un)-2.5 E(vie)-.4 E 2.5(wb)-.25 G
(ased applications the follo)-2.5 E(wing tw)-.25 E 2.5(oc)-.1 G
(alls may be used:)-2.5 E F1(vo_sun)108 254.4 Q(vie)-.4 E(w_can)-.15 E
(vas\(can)-.4 E(vas, width, height\))-.4 E F0 -.7(Te)144 266.4 S(lls V)
.7 E(OGL to use the supplied sun)-.4 E(vie)-.4 E 2.5(wc)-.25 G(an)-2.5 E
-.25(va)-.4 G(s).25 E F1(can)2.5 E(vas)-.4 E F0 -.2(vo)144 295.2 S(_sun)
.2 E(vie)-.4 E(w_can)-.25 E -.25(va)-.4 G(s\(can).25 E -.25(va)-.4 G
(s, width, height\)).25 E(Can)216 307.2 Q -.25(va)-.4 G 7.21(sc).25 G
(an)-7.21 E -.25(va)-.4 G(s;).25 E 22.94(int width,)216 319.2 R(height;)
2.5 E(This routine should be called before calling "ginit\(\)".)144
355.2 Q F1(vo_sun)108 384 Q(vie)-.4 E(w_can)-.15 E
(vas_size\(width, height\))-.4 E F0 -.7(Te)144 396 S(lls V).7 E
(OGL that the supplied can)-.4 E -.25(va)-.4 G 2.5(sh).25 G
(as changed size.)-2.5 E -.2(vo)180 420 S(_sun).2 E(vie)-.4 E(w_can)-.25
E -.25(va)-.4 G(s_size\(width, height\)).25 E 22.94(int width,)216 432 R
(height;)2.5 E/F2 10/Times-Bold@0 SF(De)87 472.8 Q(vice r)-.15 E
(outines.)-.18 E F1(vinit\(de)108 484.8 Q(vice\))-.15 E F0 -.7(Te)144
496.8 S .765(ll V).7 F .765(OGL what the de)-.4 F .765
(vice is. This routine needs to be called if the en)-.25 F .765
(vironment v)-.4 F .765(ariable VDE-)-.25 F(VICE isn')144 508.8 Q 2.5
(ts)-.18 G(et, or if the v)-2.5 E(alue in VDEVICE is not to be used.)
-.25 E -.15(Fo)180 532.8 S(rtran:).15 E(subroutine vinit\(de)216 544.8 Q
(vice, len\))-.25 E(character *\(*\) de)216 556.8 Q(vice)-.25 E(inte)216
568.8 Q(ger len)-.15 E(C:)180 592.8 Q(vinit\(de)216 604.8 Q(vice\);)-.25
E 10(char *de)216 616.8 R(vice;)-.25 E(Note 1 :- Current a)180 640.8 Q
-.25(va)-.2 G(ilable de).25 E(vices are:)-.25 E
(tek - tektronix 4010 and compatibles)226 652.8 Q
(hpgl - HP Graphics language and compatibles)226 664.8 Q
(dxy - roland DXY plotter language)226 676.8 Q
(postscript - monochrome postscript de)226 688.8 Q(vices)-.25 E
(ppostscript - monochrome postscript de)226 700.8 Q
(vices \(portrait mode\))-.25 E(cps - colour postscript de)226 712.8 Q
(vices)-.25 E(pcps - colour postscript de)226 724.8 Q
(vices \(portrait mode\))-.25 E -.4(VO)72 768 S(GL 1.2.8).4 E
(12 Oct 1993)159.41 E(2)204.28 E EP
%%Page: 3 3
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E(grx - the GRX library that is part of DJGPP)226 84 Q(.)-1.11 E 2.5
(-\()288 96 S(little tested\))-2.5 E(sun - Sun w)226 108 Q
(orkstations running sun)-.1 E(vie)-.4 E(w)-.25 E(X11 - X windo)226 120
Q(ws \(SUN')-.25 E 2.5(sO)-.55 G(penwindo)-2.5 E(ws etc etc\))-.25 E
(decX11 - the decstation \(old\) windo)226 132 Q 2.5(wm)-.25 G(anager)
-2.5 E(This is only included in case you need it.)264.5 144 Q
(apollo - Apollo w)226 156 Q(orkstations)-.1 E 5(NeXT -)226 168 R
(NeXTStep)2.5 E(hercules - IBM PC hercules graphics card)226 180 Q(cg)
226 192 Q 2.5(a-I)-.05 G(BM PC cg)-2.5 E 2.5(ag)-.05 G(raphics card)-2.5
E -2.25 -.15(eg a)226 204 T 2.5(-I)2.65 G(BM PC e)-2.5 E .1 -.05(ga g)
-.15 H(raphics card).05 E(vg)226 216 Q 2.5(a-I)-.05 G(BM PC vg)-2.5 E
2.5(ag)-.05 G(raphics card)-2.5 E(sigma - IBM PC sigma graphics card.)
226 228 Q(mswin - MS-windoze \(little tested\).)226 240 Q
(Sun, X11, decX11, apollo, hercules, cg)226 264 Q(a)-.05 E(and e)226 276
Q .1 -.05(ga s)-.15 H(upport double b).05 E(uf)-.2 E(fering.)-.25 E
(Note 2 :- If de)180 336 Q(vice is a NULL or a null string the v)-.25 E
(alue)-.25 E(of the en)216 348 Q(vironment v)-.4 E
(ariable "VDEVICE" is tak)-.25 E(en as the)-.1 E(de)216 360 Q
(vice type to be opened.)-.25 E(Note 3 :- after init it is wise to e)180
384 Q(xplicitly)-.15 E(clear the screen.)216 396 Q(e.g.: in C)180 420 Q
(color\(BLA)216 432 Q(CK\);)-.4 E(clear\(\);)216 444 Q 7.5(or in)180 468
R -.15(Fo)2.5 G(rtran).15 E(call color\(BLA)216 480 Q(CK\))-.4 E
(call clear)216 492 Q/F1 10/Times-Italic@0 SF(ginit\(\))108 520.8 Q F0
.577(Open the graphics de)11 F .577
(vice and do the basic initialisation. This routine is mark)-.25 F .578
(ed for obsolescence.)-.1 F 2.515(The routine)144 532.8 R F1(winopen)
5.015 E F0 2.515(\(see belo)5.015 F 2.515(w\) should be used instead.)
-.25 F 2.514(Note: this automatically causes a)7.514 F(REDRA)144 544.8 Q
2.5(We)-.9 G -.15(ve)-2.75 G(nt to appear as the \214rst e).15 E -.15
(ve)-.25 G(nt in the e).15 E -.15(ve)-.25 G(nt queue.).15 E -.15(Fo)180
568.8 S(rtran:).15 E(subroutine ginit)216 580.8 Q(C:)180 604.8 Q
(ginit\(\))216 616.8 Q F1(winopen\(title\))108 645.6 Q F0 1.197
(Open the graphics de)144 657.6 R 1.197(vice and do the basic initialis\
ation. This routine should be used instead of)-.25 F F1(ginit.)144 669.6
Q F0 .892(Note: this automatically causes a REDRA)5.892 F 3.391(We)-.9 G
-.15(ve)-3.641 G .891(nt to appear as the \214rst e).15 F -.15(ve)-.25 G
.891(nt in the e).15 F -.15(ve)-.25 G(nt).15 E(queue.)144 681.6 Q -.15
(Fo)180 705.6 S(rtran:).15 E(subroutine winopen\(title, len\))216 717.6
Q(character*\(*\) title)216 729.6 Q -.4(VO)72 768 S(GL 1.2.8).4 E
(12 Oct 1993)159.41 E(3)204.28 E EP
%%Page: 4 4
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E(inte)216 84 Q(ger len)-.15 E(C:)180 108 Q(winopen\(title\))216 120
Q 16.29(char *title;)252 132 R/F1 10/Times-Italic@0 SF -.1(ge)108 160.8
S(xit\(\))-.1 E F0(Reset the windo)10.2 E
(w/terminal \(must be the last V)-.25 E(OGL routine called\))-.4 E -.15
(Fo)180 184.8 S(rtran:).15 E(subroutine ge)216 196.8 Q(xit)-.15 E(C:)180
220.8 Q(ge)216 232.8 Q(xit\(\))-.15 E F1(voutput\(path\))108 261.6 Q F0
.156(Redirect output from *ne)144 273.6 R .156(xt* ginit to \214le gi)
-.15 F -.15(ve)-.25 G 2.656(nb).15 G 2.656(yp)-2.656 G .156
(ath. This routine only applies to de)-2.656 F .157(vices dri)-.25 F
-.15(ve)-.25 G(rs).15 E(that write to stdout e.g. postscript and hpgl.)
144 285.6 Q -.15(Fo)180 309.6 S(rtran:).15 E(subroutine v)216 321.6 Q
(output\(path, len\))-.2 E(character*\(*\) path)216 333.6 Q(inte)216
345.6 Q(ger len)-.15 E(C:)180 369.6 Q -.2(vo)216 381.6 S(utput\(path\))
.2 E 16.29(char *path;)252 393.6 R F1(vne)108 422.4 Q(wde)-.15 E(v\(de)
-.15 E(vice\))-.15 E F0 1.264(Reinitialize V)144 434.4 R 1.263
(OGL to use a ne)-.4 F 3.763(wd)-.25 G -.25(ev)-3.763 G 1.263
(ice without changing attrib).25 F 1.263(utes, vie)-.2 F 1.263
(wport etc.)-.25 F(\(e)6.263 E 1.263(g. windo)-.15 F(w)-.25 E(and vie)
144 446.4 Q(wport speci\214cations\))-.25 E -.15(Fo)180 470.4 S(rtran:)
.15 E(subroutine vne)216 482.4 Q(wde)-.25 E(v\(de)-.25 E(vice, len\))
-.25 E(character *\(*\) de)216 494.4 Q(vice)-.25 E(inte)216 506.4 Q
(ger len)-.15 E(C:)180 530.4 Q(vne)216 542.4 Q(wde)-.25 E(v\(de)-.25 E
(vice\))-.25 E(char *de)252 554.4 Q(vice;)-.25 E F1 -.1(ge)144 578.4 S
(tplanes\(\)).1 E F0 .355(Returns the number of bit planes \(or color p\
lanes\) for a particular de)2.855 F .356(vice. The number)-.25 F
(of colors displayable by the de)144 590.4 Q
(vice is then 2**\(nplanes-1\))-.25 E -.15(Fo)180 614.4 S(rtran:).15 E
(inte)216 626.4 Q(ger function)-.15 E(getplanes\(\))5 E(C:)180 650.4 Q
(long)216 662.4 Q(getplanes\(\))216 674.4 Q/F2 10/Times-Bold@0 SF
(Routines f)87 703.2 Q(or contr)-.25 E(oling \215ushing or syncr)-.18 E
(onisation of the display)-.18 E(.)-.7 E F0 .386(On some de)108 715.2 R
.386(vices \(particularly X11\) considerable speedups in display can be\
 achie)-.25 F -.15(ve)-.25 G 2.886(db).15 G 2.886(yn)-2.886 G .386
(ot \215ushing each)-2.886 F .745(graphics primiti)108 727.2 R 1.045
-.15(ve c)-.25 H .746(all to the actual display until necessary).15 F
3.246(.V)-.65 G .746(OGL automatically delays \215ushing under in)-3.646
F -.4(VO)72 768 S(GL 1.2.8).4 E(12 Oct 1993)159.41 E(4)204.28 E EP
%%Page: 5 5
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E(follo)108 84 Q(wing cases:)-.25 E 2.5(-W)144 108 S
(ithin a callobj\(\) call.)-2.9 E 2.5(-W)144 120 S(ithin curv)-2.9 E
(es and patches.)-.15 E 2.5(-W)144 132 S(ithin bgn*/end* calls.)-2.9 E
2.5(-W)144 144 S(hen double b)-2.5 E(uf)-.2 E
(fering \(the \215ush is only done withing sw)-.25 E(apb)-.1 E(uf)-.2 E
(fers\).)-.25 E(There are tw)108 168 Q 2.5(ou)-.1 G
(ser routines \(which are NO)-2.5 E 2.5(TG)-.4 G 2.5(Lc)-2.5 G
(ompatible\) that can be used to control \215ushing.)-2.5 E/F1 10
/Times-Italic@0 SF(vset\215ush\(yesno\))108 184.8 Q F0 .027
(Set global \215ushing status. If yesno = 0 \(.f)144 196.8 R .027
(alse.\) then don')-.1 F 2.527(td)-.18 G 2.527(oa)-2.527 G .327 -.15
(ny \215)-2.527 H .027(ushing \(e).15 F .026(xcept in sw)-.15 F(apb)-.1
E(uf)-.2 E(fers\(\),)-.25 E(or v\215ush\(\)\). If yesno = 1 \(.true.\))
144 208.8 Q(then do the \215ushing as described abo)5 E -.15(ve)-.15 G
(.).15 E -.15(Fo)180 232.8 S(rtran:).15 E
(subroutine vset\215ush\(yesno\))216 244.8 Q(logical yesno)216 256.8 Q
(C:)180 280.8 Q -.2(vo)216 292.8 S(id).2 E(vset\215ush\(yesno\))216
304.8 Q 22.94(int yesno;)252 316.8 R F1(v\215ush\(\))108 333.6 Q F0
(Call the de)6.01 E
(vice \215ush or syncronisation routine. This forces a \215ush.)-.25 E
-.15(Fo)180 357.6 S(rtran:).15 E(subroutine v\215ush)216 369.6 Q(C:)180
393.6 Q -.2(vo)216 405.6 S(id).2 E(v\215ush\(\);)216 417.6 Q/F2 10
/Times-Bold@0 SF(Routines F)87 434.4 Q(or Setting Up W)-.25 E(indo)-.18
E(ws.)-.1 E F0 .275(Some de)108 446.4 R .275(vices are basically windo)
-.25 F 2.775(wo)-.25 G .275(rientated - lik)-2.775 F 2.775(es)-.1 G(un)
-2.775 E(vie)-.4 E 2.775(wa)-.25 G .275(nd X11. Y)-2.775 F .275
(ou can gi)-1.1 F .575 -.15(ve V)-.25 H .275(OGL some informa-)-.25 F
.713(tion about the windo)108 458.4 R 3.213(wt)-.25 G .712
(hat it will use with these routines.)-3.213 F .712(These can mak)5.712
F 3.212(ey)-.1 G .712(our code v)-3.212 F .712(ery de)-.15 F .712
(vice depen-)-.25 F .092(dent. Both routines tak)108 470.4 R 2.592(ea)
-.1 G -.18(rg)-2.592 G .092(uments which are in de).18 F .092
(vice space. \(0, 0\) is the bottom left hand corner in de)-.25 F(vice)
-.25 E 1.028(space. T)108 482.4 R 3.528(oh)-.8 G -2.25 -.2(av e)-3.528 H
(an)3.728 E 3.528(ye)-.15 G -.25(ff)-3.528 G 1.027
(ect these routines must be called before ginit or winopen.).25 F -.15
(Fo)6.027 G 3.527(rt).15 G 1.027(he X11 de)-3.527 F 1.027(vice, an)-.25
F .308(entry may be made in your .Xdef)108 494.4 R .308
(aults \214le of the form v)-.1 F .308
(ogl.Geometry =150x500+550+50 \(where you spec-)-.2 F
(ify your geometry as you please\).)108 506.4 Q F1(pr)108 523.2 Q
(efposition\(x1, x2, y1, y2\))-.37 E F0
(Specify the preferred position of the windo)144 535.2 Q 2.5(wo)-.25 G
(pened by the *ne)-2.5 E(xt* winopen.)-.15 E -.15(Fo)180 559.2 S(rtran:)
.15 E(subroutine prefposition\(x1, x2, y1, y2\))216 571.2 Q(inte)216
583.2 Q(ger x1, x2, y1, y2)-.15 E(C:)180 607.2 Q
(prefposition\(x1, x2, y1, y2\))216 619.2 Q 15.72(long x1,)252 631.2 R
(x2, y1, y2)2.5 E F1(pr)108 660 Q(efsize\(width, height\))-.37 E F0
(Specify the preferred width and height of the windo)144 672 Q 2.5(wo)
-.25 G(pened by the *ne)-2.5 E(xt* winopen.)-.15 E -.15(Fo)180 696 S
(rtran:).15 E(subroutine prefsize\(width, height\))216 708 Q(inte)216
720 Q(ger width, height)-.15 E -.4(VO)72 768 S(GL 1.2.8).4 E
(12 Oct 1993)159.41 E(5)204.28 E EP
%%Page: 6 6
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E(C:)180 84 Q(prefsize\(width, height\))216 96 Q 15.72(long width,)
252 108 R(height;)2.5 E/F1 10/Times-Italic@0 SF -.37(re)108 136.8 S
(shape).37 E(vie)-.15 E(wport)-.15 E F0 .196
(This is occasionally used in Iris GL if a REDRA)144 148.8 R 2.696(We)
-.9 G -.15(ve)-2.946 G .195(nt rolls up. While V).15 F .195
(OGL is unlik)-.4 F .195(ely to e)-.1 F -.15(ve)-.25 G(r).15 E(pro)144
160.8 Q .538(vide a REDRA)-.15 F 3.038(We)-.9 G -.15(ve)-3.288 G .538
(nt \(e).15 F .538(xcept possibly the \214rst e)-.15 F -.15(ve)-.25 G
.538(nt in the e).15 F -.15(ve)-.25 G .538(nt queue\) the call is pro)
.15 F(vided)-.15 E(for compatibility)144 172.8 Q(.)-.65 E -.15(Fo)180
196.8 S(rtran:).15 E(subroutine reshap)216 208.8 Q(C:)180 232.8 Q
(reshape)216 244.8 Q(vie)-.25 E(wport\(\))-.25 E/F2 10/Times-Bold@0 SF
(General Routines.)87 273.6 Q F1(clear\(\))108 285.6 Q F0
(Clears the current vie)8.79 E(wport to the current colour)-.25 E(.)-.55
E -.15(Fo)180 309.6 S(rtran:).15 E(subroutine clear)216 321.6 Q(C:)180
345.6 Q(clear\(\))216 357.6 Q F1(color\(col\))108 386.4 Q F0
(Set the current colour)144 398.4 Q 2.5(.T)-.55 G
(he standard colours are as follo)-2.5 E(ws:)-.25 E(black = 0)180 410.4
Q(red = 1)17.5 E(green = 2)22.5 E(yello)17.5 E 2.5(w=3)-.25 G(blue = 4)
180 422.4 Q(magenta = 5)20 E -.15(cy)12.5 G(an = 6).15 E(white = 7.)20 E
(These are included in v)180 446.4 Q(ogl.h as:)-.2 E(BLA)187.5 470.4 Q
(CK, RED, GREEN, YELLO)-.4 E 1.84 -.92(W, B)-.35 H(LUE, MA).92 E(GENT)
-.4 E(A, CY)-.93 E(AN and WHITE.)-1.2 E
(When using fortran these are included in fv)180 494.4 Q(ogl.h as)-.2 E
(BLA)187.5 506.4 Q(CK, RED, GREEN, YELLO)-.4 E 1.84 -.92(W, B)-.35 H
(LUE, MA).92 E(GENT)-.4 E 2.5(,C)-.74 G -1.2(YA)-2.5 G 2.5(Na)1.2 G
(nd WHITE.)-2.5 E -.15(Fo)180 530.4 S(rtran:).15 E
(subroutine color\(col\))216 542.4 Q(inte)216 554.4 Q(ger col)-.15 E(C:)
180 578.4 Q(color\(col\))216 590.4 Q(Colorinde)252 602.4 Q 27.15(xc)-.15
G(ol;)-27.15 E F1(colorf\(col\))108 631.2 Q F0 .144(Same as)144 643.2 R
F1(color)2.644 E F0 .144(only it tak)2.644 F .144
(es a \215oating point ar)-.1 F .143
(gument. In Iris GL there are sometimes good reasons)-.18 F
(for using this routine o)144 655.2 Q -.15(ve)-.15 G(r).15 E F1(color)
2.5 E(.)-1.11 E F0(See the GL manual for more details.)5 E -.15(Fo)180
679.2 S(rtran:).15 E(subroutine colorf\(col\))216 691.2 Q(real col)216
703.2 Q(C:)180 727.2 Q -.4(VO)72 768 S(GL 1.2.8).4 E(12 Oct 1993)159.41
E(6)204.28 E EP
%%Page: 7 7
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E(colorf\(col\))216 84 Q 15.72(\215oat col;)252 96 R/F1 10
/Times-Italic@0 SF(mapcolor\(indx, r)108 124.8 Q(ed, gr)-.37 E
(een, blue\))-.37 E F0 .823(Set the color map inde)144 136.8 R 3.323(xi)
-.15 G .823(ndx to the color represented by \(red, green, blue\).)-3.323
F .824(If the de)5.824 F .824(vice has no)-.25 F
(color map this call does nothing.)144 148.8 Q -.15(Fo)180 172.8 S
(rtran:).15 E(subroutine mapcolor\(indx, red, green, blue\))216 184.8 Q
(inte)216 196.8 Q(ger indx, red, green, blue)-.15 E(C:)180 220.8 Q
(mapcolor\(indx, red, green, blue\))216 232.8 Q(Colorinde)252 244.8 Q
27.15(xi)-.15 G(ndx;)-27.15 E 49.5(short red,)252 256.8 R(green, blue;)
2.5 E F1(defbasis\(id, mat\))108 285.6 Q F0
(De\214ne basis number id to be the matrix mat.)144 297.6 Q -.15(Fo)180
321.6 S(rtran:).15 E(subroutine defbasis\(id, mat\))216 333.6 Q(inte)216
345.6 Q(ger id)-.15 E(real mat\(4, 4\))216 357.6 Q(C:)180 381.6 Q
(defbasis\(id, mat\))216 393.6 Q 13.5(short id;)252 405.6 R 6.28
(Matrix mat;)252 417.6 R F1(polymode\(mode\))108 446.4 Q(NO)144 458.4 Q
.455(TE:- F)-.4 F .455(or this call to have any ef)-1.05 F(fect)-.18 E
F0 .454(it must ha)2.954 F .754 -.15(ve b)-.2 H(een).15 E F1 .454
(conditionally compilied)2.954 F F0 .454(into the library)2.954 F(.)-.65
E 2.483
(\(See polygons.c for details\) Control the \214lling of polygons. It e)
144 470.4 R 2.483(xpects one of the follo)-.15 F(wing)-.25 E 1.177
(PYM_LINE, which means only the edges of the polygon will be dra)144
482.4 R 1.176(wn and PYM_FILL which)-.15 F .906
(means \214ll the polygon \(the def)144 494.4 R .906
(ault\). PYM_POINT and PYM_HOLLO)-.1 F 3.406(Wa)-.35 G .906
(re also recognised b)-3.406 F(ut)-.2 E(the)144 506.4 Q 2.5(yd)-.15 G
(on')-2.5 E 2.5(tb)-.18 G(eha)-2.5 E .3 -.15(ve q)-.2 H(uite as the).15
E 2.5(yw)-.15 G(ould with SGI GL.)-2.6 E 3.109(Also note that in F)144
530.4 R 3.108
(ortran the corresponding constants are truncated to PYM_LI, PYM_FI,)
-.15 F(PYM_PO and PYM_HO respecti)144 542.4 Q(vly)-.25 E 2.5(.T)-.65 G
(hese appear in fv)-2.5 E(ogl.h.)-.2 E -.15(Fo)180 578.4 S(rtran:).15 E
(subroutine polymode\(mode\))216 590.4 Q(inte)216 602.4 Q(ger mode)-.15
E(C:)180 626.4 Q(polymode\(mode\))216 638.4 Q 15.72(long mode;)252 650.4
R/F2 10/Times-Bold@0 SF(The De)87 679.2 Q(vice Queue and V)-.15 E
(aluator Routines.)-.92 E F0(The a)108 691.2 Q -.25(va)-.2 G(ilable de)
.25 E(vices are de\214ned in the header \214les v)-.25 E(ode)-.2 E
(vice.h and for FOR)-.25 E(TRAN fv)-.6 E(ode)-.2 E(vice.h)-.25 E -.4(VO)
72 768 S(GL 1.2.8).4 E(12 Oct 1993)159.41 E(7)204.28 E EP
%%Page: 8 8
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 10/Times-Italic@0 SF(qde)108 84 Q(vice\(de)-.15 E(v\))-.15 E F0
(Enable a de)144 96 Q(vice. Note: in V)-.25 E
(OGL the queue is of length 1.)-.4 E -.15(Fo)180 120 S(rtran:).15 E
(subroutine qde)216 132 Q(vice\(de)-.25 E(v\))-.25 E(inte)216 144 Q
(ger de)-.15 E(v)-.25 E(C:)180 168 Q(qde)216 180 Q(vice\(de)-.25 E(v\))
-.25 E(De)252 192 Q 5.43(vice de)-.25 F(v;)-.25 E F1(unqde)108 220.8 Q
(vice\(de)-.15 E(v\))-.15 E F0(Disable a de)144 232.8 Q(vice.)-.25 E
-.15(Fo)180 256.8 S(rtran:).15 E(subroutine qde)216 268.8 Q(vice\(de)
-.25 E(v\))-.25 E(inte)216 280.8 Q(ger de)-.15 E(v)-.25 E(C:)180 304.8 Q
(qde)216 316.8 Q(vice\(de)-.25 E(v\))-.25 E(De)252 328.8 Q 5.43(vice de)
-.25 F(v;)-.25 E F1(qr)108 357.6 Q(ead\(data\))-.37 E F0 1.168
(Read an e)144 369.6 R -.15(ve)-.25 G 1.168(nt from the de).15 F 1.168
(vice queue. This routines blocks until something happens. Note: it is)
-.25 F(important to ha)144 381.6 Q .3 -.15(ve c)-.2 H(alled qde).15 E
(vice before doing this.)-.25 E -.15(Fo)180 405.6 S(rtran:).15 E(inte)
216 417.6 Q(ger function qread\(data\))-.15 E(inte)216 429.6 Q
(ger*2 data)-.15 E(C:)180 453.6 Q(long qread\(data\))216 465.6 Q 13.5
(short *data;)252 477.6 R F1(isqueued\(de)108 506.4 Q(v\))-.15 E F0
(Check to see if de)144 518.4 Q(vice de)-.25 E 2.5(vi)-.25 G 2.5(se)-2.5
G(nabled for queueing.)-2.5 E -.15(Fo)180 542.4 S(rtran:).15 E
(logical function isqueued\(de)216 554.4 Q(v\))-.25 E(inte)216 566.4 Q
(ger de)-.15 E(v)-.25 E(C:)180 590.4 Q(Boolean isqueued\(de)216 602.4 Q
(v\))-.25 E 13.5(short *de)252 614.4 R(v;)-.25 E F1(qtest\(\))108 643.2
Q F0(Check if there is an)10.45 E(ything in the queue. Note: in V)-.15 E
(OGL the queue is only 1 entry deep.)-.4 E -.15(Fo)180 667.2 S(rtran:)
.15 E(logical function qtest)216 679.2 Q(C:)180 703.2 Q
(Boolean qtest\(\))216 715.2 Q -.4(VO)72 768 S(GL 1.2.8).4 E
(12 Oct 1993)159.41 E(8)204.28 E EP
%%Page: 9 9
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 10/Times-Italic@0 SF(qr)108 84 Q(eset\(\))-.37 E F0
(Reset the de)5.27 E(vice queue. This will get rid of an)-.25 E 2.5(yp)
-.15 G(ending e)-2.5 E -.15(ve)-.25 G(nts.).15 E -.15(Fo)180 108 S
(rtran:).15 E(subroutine qreset)216 120 Q(C:)180 144 Q(qreset\(\))216
156 Q F1 -.1(ge)108 184.8 S(tb).1 E(utton\(de)-.2 E(v\))-.15 E F0
(Returns the up \(0\) or do)144 196.8 Q(wn \(1\) state of a b)-.25 E
(utton.)-.2 E -.15(Fo)180 220.8 S(rtran:).15 E(logical function getb)216
232.8 Q(utton\(de)-.2 E(v\))-.25 E(inte)216 244.8 Q(ger de)-.15 E(v)-.25
E(C:)180 268.8 Q(Boolean getb)216 280.8 Q(utton\(de)-.2 E(v\))-.25 E(De)
252 292.8 Q 5.43(vice de)-.25 F(v;)-.25 E F1 -.1(ge)108 321.6 S
(tvaluator\(de).1 E(v\))-.15 E F0 .269(Return the current v)144 333.6 R
.269(alue of the v)-.25 F(aluator)-.25 E 2.769(.C)-.55 G .268
(urrently the only v)-2.769 F .268(aluators supported are MOUSEX and)
-.25 F(MOUSEY)144 345.6 Q(.)-1.29 E -.15(Fo)180 369.6 S(rtran:).15 E
(inte)216 381.6 Q(ger function getv)-.15 E(aluator\(de)-.25 E(v\))-.25 E
(inte)216 393.6 Q(ger de)-.15 E(v)-.25 E(C:)180 417.6 Q(long getv)216
429.6 Q(aluator\(de)-.25 E(v\))-.25 E(De)252 441.6 Q 5.43(vice de)-.25 F
(v;)-.25 E/F2 10/Times-Bold@0 SF -.37(Vi)87 470.4 S(ewport Routines.).37
E F1(vie)108 482.4 Q(wport\(left, right, bottom, top\))-.15 E F0 1.614
(Specify which part of the screen to dra)144 494.4 R 4.115(wi)-.15 G
1.615(n. Left, right, bottom, and top are inte)-4.115 F 1.615(ger v)-.15
F 1.615(alues in)-.25 F(screen coordinates.)144 506.4 Q -.15(Fo)180
530.4 S(rtran:).15 E(subroutine vie)216 542.4 Q
(wport\(left, right, bottom, top\))-.25 E(inte)216 554.4 Q
(ger left, right, bottom, top)-.15 E(C:)180 578.4 Q(vie)216 590.4 Q
(wport\(left, right, bottom, top\))-.25 E 12.5(Screencoord left,)252
602.4 R(right, bottom, top;)2.5 E F1(pushvie)108 631.2 Q(wport\(\))-.15
E F0(Sa)144 643.2 Q .3 -.15(ve c)-.2 H(urrent vie).15 E
(wport on the vie)-.25 E(wport stack.)-.25 E -.15(Fo)180 667.2 S(rtran:)
.15 E(subroutine pushvie)216 679.2 Q(wport)-.25 E(C:)180 703.2 Q
(pushvie)216 715.2 Q(wport\(\))-.25 E -.4(VO)72 768 S(GL 1.2.8).4 E
(12 Oct 1993)159.41 E(9)204.28 E EP
%%Page: 10 10
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 10/Times-Italic@0 SF(popvie)108 84 Q(wport\(\))-.15 E F0
(Retrie)144 96 Q .3 -.15(ve l)-.25 H(ast pushed vie).15 E(wport.)-.25 E
-.15(Fo)180 120 S(rtran:).15 E(subroutine popvie)216 132 Q(wport)-.25 E
(C:)180 156 Q(popvie)216 168 Q(wport\(\))-.25 E F1 -.1(ge)108 196.8 S
(tvie).1 E(wport\(left, right, bottom, top\))-.15 E F0
(Returns the left, right, bottom and top limits of the current vie)144
208.8 Q(wport in screen coordinates.)-.25 E -.15(Fo)180 232.8 S(rtran:)
.15 E(subroutine getvie)216 244.8 Q(wport\(left, right, bottom, top\))
-.25 E(inte)216 256.8 Q(ger*2 left, right, bottom, top)-.15 E(C:)180
280.8 Q(getvie)216 292.8 Q(wport\(left, right, bottom, top\))-.25 E 12.5
(Screencoord *left,)252 304.8 R(*right, *bottom, *top;)2.5 E/F2 10
/Times-Bold@0 SF(Attrib)87 333.6 Q(ute Stack Routines.)-.2 E F0 .599
(The attrib)108 345.6 R .599
(ute stack contains details such as current color)-.2 F 3.099(,c)-.4 G
.599(urrent line style and width, and the current font)-3.099 F(number)
108 357.6 Q 3.916(.I)-.55 G 3.916(fy)-3.916 G 1.417(ou need to pre)
-3.916 F -.15(ve)-.25 G 1.417(nt object calls form changing these, use)
.15 F F1(pushattrib)3.917 E(utes)-.2 E F0 1.417(before the call and)
3.917 F F1(popattrib)108 369.6 Q(utes)-.2 E F0(after)2.5 E(.)-.55 E F1
(pushattrib)108 386.4 Q(utes\(\))-.2 E F0(Sa)144 398.4 Q .3 -.15(ve t)
-.2 H(he current attrib).15 E(utes on the attrib)-.2 E(ute stack.)-.2 E
-.15(Fo)180 422.4 S(rtran:).15 E(subroutine pushattrib)216 434.4 Q(utes)
-.2 E(C:)180 458.4 Q(pushattrib)216 470.4 Q(utes\(\))-.2 E F1(popattrib)
108 487.2 Q(utes\(\))-.2 E F0(Restore the attrib)144 499.2 Q
(utes to what the)-.2 E 2.5(yw)-.15 G(ere at the last)-2.5 E F1
(pushattrib)2.5 E(ute\(\).)-.2 E F0 -.15(Fo)180 523.2 S(rtran:).15 E
(subroutine popattrib)216 535.2 Q(utes)-.2 E(C:)180 559.2 Q(popattrib)
216 571.2 Q(utes\(\))-.2 E F2(Pr)87 600 Q(ojection Routines.)-.18 E F0
.817(All the projection routines de\214ne a ne)108 612 R 3.317(wt)-.25 G
.817(ransformation matrix, and consequently the w)-3.317 F .817
(orld units. P)-.1 F(arallel)-.15 E .636
(projections are de\214ned by ortho or ortho2. Perspecti)108 624 R .937
-.15(ve p)-.25 H .637(rojections can be de\214ned by perspecti).15 F
.937 -.15(ve a)-.25 H .637(nd win-).15 F(do)108 636 Q 3.8 -.65(w. N)-.25
H(ote the types Angle, etc, are de\214ned in v).65 E
(ogl.h. Remember angles are in tenths of de)-.2 E(grees.)-.15 E F1
(ortho\(left, right, bottom, top, near)108 652.8 Q 2.5(,f)-1.11 G(ar\))
-2.5 E F0 .737
(De\214ne x \(left, right\), y \(bottom, top\), and z \(near)144 664.8 R
3.236(,f)-.4 G .736(ar\) clipping planes. The near and f)-3.336 F .736
(ar clipping)-.1 F .546(planes are actually speci\214ed as distances al\
ong the line of sight. These distances can also be ne)144 676.8 R(g-)
-.15 E(ati)144 688.8 Q -.15(ve)-.25 G 5(.T).15 G
(he actual location of the clipping planes is z = -near_d and z = -f)-5
E(ar_d.)-.1 E -.15(Fo)180 712.8 S(rtran:).15 E
(subroutine ortho\(left, right, bottom, top, near_d, f)216 724.8 Q
(ar_d\))-.1 E -.4(VO)72 768 S(GL 1.2.8).4 E(12 Oct 1993)159.41 E(10)
199.28 E EP
%%Page: 11 11
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E(real left, right, bottom, top, near_d, f)216 84 Q(ar_d)-.1 E(C:)
180 108 Q(ortho\(left, right, bottom, top, near_d, f)216 120 Q(ar_d\))
-.1 E 8.5(Coord left,)252 132 R(right, bottom, top, near_d, f)2.5 E
(ar_d;)-.1 E/F1 10/Times-Italic@0 SF(ortho2\(left, right, bottom, top\))
108 160.8 Q F0
(De\214ne x \(left, right\), and y \(bottom, top\) clipping planes.)144
172.8 Q -.15(Fo)180 196.8 S(rtran:).15 E
(subroutine ortho2\(left, right, bottom, top\))216 208.8 Q
(real left, right, bottom, top)216 220.8 Q(C:)180 244.8 Q
(ortho2\(left, right, bottom, top\))216 256.8 Q 15.72(\215oat left,)252
268.8 R(right, bottom, top;)2.5 E F1(per)108 297.6 Q(spective\(fo)-.1 E
1.48 -.74(v, a)-.1 H(spect, near).74 E 2.5(,f)-1.11 G(ar\))-2.5 E F0 .39
(Specify a perspecti)144 309.6 R .69 -.15(ve v)-.25 H(ie).15 E .39
(wing p)-.25 F .39(yramid in w)-.1 F .389(orld coordinates by gi)-.1 F
.389(ving a \214eld of vie)-.25 F 1.689 -.65(w, a)-.25 H .389
(spect ratio).65 F(and the distance from the e)144 321.6 Q
(ye of the near and f)-.15 E(ar clipping plane.)-.1 E 1.605(The fo)144
345.6 R 2.905 -.65(v, s)-.15 H 1.605(peci\214es the \214eld of vie).65 F
4.105(wi)-.25 G 4.105(nt)-4.105 G 1.606
(he y direction. It is the range of the area that is being)-4.105 F(vie)
144 357.6 Q .126(wed. The aspect ratio is the ratio x/y \(width/height\
\) which determines the fo)-.25 F 2.625(vi)-.15 G 2.625(nt)-2.625 G .125
(he x direction.)-2.625 F -.15(Fo)180 393.6 S(rtran:).15 E
(subroutine perspecti)216 405.6 Q -.15(ve)-.25 G(\(fo).15 E 1.3 -.65
(v, a)-.15 H(spect, near).65 E 2.5(,f)-.4 G(ar\))-2.6 E(inte)216 417.6 Q
(ger fo)-.15 E(v)-.15 E(real aspect, near)216 429.6 Q 2.5(,f)-.4 G(ar)
-2.6 E(C:)180 453.6 Q(perspecti)216 465.6 Q -.15(ve)-.25 G(\(fo).15 E
1.3 -.65(v, a)-.15 H(spect, near).65 E 2.5(,f)-.4 G(ar\))-2.6 E 9.06
(Angle fo)252 477.6 R(v;)-.15 E 15.72(\215oat aspect;)252 489.6 R 8.5
(Coord near)252 501.6 R 2.5(,f)-.4 G(ar;)-2.6 E F1
(window\(left, right, bot, top, near)108 530.4 Q 2.5(,f)-1.11 G(ar\))
-2.5 E F0(Specify a perspecti)144 542.4 Q .3 -.15(ve v)-.25 H(ie).15 E
(wing p)-.25 E(yramid in w)-.1 E(orld coordinates by)-.1 E(gi)144 554.4
Q(ving the rectangle closest to the e)-.25 E
(ye \(ie. at the near clipping)-.15 E
(plane\) and the distances to the near and f)144 566.4 Q
(ar clipping planes.)-.1 E -.15(Fo)180 590.4 S(rtran:).15 E
(subroutine windo)216 602.4 Q(w\(left, right, bot, top, near)-.25 E 2.5
(,f)-.4 G(ar\))-2.6 E(real left, right, bot, top, near)216 614.4 Q 2.5
(,f)-.4 G(ar)-2.6 E(C:)180 638.4 Q(windo)216 650.4 Q
(w\(left, right, bot, top, near)-.25 E 2.5(,f)-.4 G(ar\))-2.6 E 10
(\215oat left,)252 662.4 R(right, bot, top, near)2.5 E 2.5(,f)-.4 G(ar;)
-2.6 E/F2 10/Times-Bold@0 SF(Matrix Stack Routines.)87 691.2 Q F1
(pushmatrix\(\))108 703.2 Q F0(Sa)144 715.2 Q .3 -.15(ve t)-.2 H
(he current transformation matrix on the matrix stack.).15 E -.4(VO)72
768 S(GL 1.2.8).4 E(12 Oct 1993)159.41 E(11)199.28 E EP
%%Page: 12 12
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E -.15(Fo)180 84 S(rtran:).15 E(subroutine pushmatrix)216 96 Q(C:)
180 120 Q(pushmatrix\(\))216 132 Q/F1 10/Times-Italic@0 SF
(popmatrix\(\))108 160.8 Q F0(Retrie)144 172.8 Q .3 -.15(ve t)-.25 H
(he last matrix pushed and mak).15 E 2.5(ei)-.1 G 2.5(tt)-2.5 G
(he current transformation matrix.)-2.5 E -.15(Fo)180 196.8 S(rtran:).15
E(subroutine popmatrix)216 208.8 Q(C:)180 232.8 Q(popmatrix\(\))216
244.8 Q/F2 10/Times-Bold@0 SF -.37(Vi)87 273.6 S(ewpoint Routines.).37 E
F0 -.6(Vi)108 285.6 S -.25(ew).6 G
(point routines alter the current tranformation matrix.).25 E F1
(polarvie)108 302.4 Q(w\(dist, azim, inc, twist\))-.15 E F0 .248
(Specify the vie)144 314.4 R(wer')-.25 E 2.748(sp)-.55 G .249
(osition in polar coordinates by gi)-2.748 F .249
(ving the distance from the vie)-.25 F .249(wpoint to the)-.25 F -.1(wo)
144 326.4 S .597(rld origin, the azimuthal angle in the x-y plane, meas\
ured from the y-axis, the incidence angle).1 F(in the y-z plane, measur\
ed from the z-axis, and the twist angle about the line of sight.)144
338.4 Q -.15(Fo)180 362.4 S(rtran:).15 E(subroutine polarvie)216 374.4 Q
(w\(dist, azim, inc, twist\))-.25 E(real dist)216 386.4 Q(inte)216 398.4
Q(ger azim, inc, twist)-.15 E(C:)180 422.4 Q(polarvie)216 434.4 Q
(w\(dist, azim, inc, twist\))-.25 E 8.5(Coord dist;)252 446.4 R 9.06
(Angle azim,)252 458.4 R(inc, twist;)2.5 E F1(lookat\(vx, vy)108 487.2 Q
2.5(,v)-.55 G(z, px, py)-2.5 E 2.5(,p)-.55 G(z, twist\))-2.5 E F0 .46
(Specify the vie)144 499.2 R(wer')-.25 E 2.96(sp)-.55 G .46
(osition by gi)-2.96 F .461(ving a vie)-.25 F .461
(wpoint and a reference point in w)-.25 F .461(orld coordinates. A)-.1 F
(twist about the line of sight may also be gi)144 511.2 Q -.15(ve)-.25 G
(n.).15 E .05(The vie)144 535.2 R .05(wpoint is at \(vx, vy)-.25 F 2.55
(,v)-.65 G .05(z\). The reference \(or vie)-2.55 F .049
(wed\) point is at \(px, p)-.25 F 1.349 -.65(y, p)-.1 H .049
(z\). ie the line of site).65 F(is from v to p. The twist parameter is \
a righthand rotation about the line of site.)144 547.2 Q -.15(Fo)180
583.2 S(rtran:).15 E(subroutine lookat\(vx, vy)216 595.2 Q 2.5(,v)-.65 G
(z, px, p)-2.5 E 1.3 -.65(y, p)-.1 H(z, twist\)).65 E(real vx, vy)216
607.2 Q 2.5(,v)-.65 G(z, px, p)-2.5 E 1.3 -.65(y, p)-.1 H(z).65 E(inte)
216 619.2 Q(ger twist)-.15 E(C:)180 643.2 Q(lookat\(vx, vy)216 655.2 Q
2.5(,v)-.65 G(z, px, p)-2.5 E 1.3 -.65(y, p)-.1 H(z, twist\)).65 E 15.72
(\215oat vx,)252 667.2 R(vy)2.5 E 2.5(,v)-.65 G(z, px, p)-2.5 E 1.3 -.65
(y, p)-.1 H(z;).65 E 9.06(Angle twist;)252 679.2 R -.4(VO)72 768 S
(GL 1.2.8).4 E(12 Oct 1993)159.41 E(12)199.28 E EP
%%Page: 13 13
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 10/Times-Bold@0 SF(Mo)87 84 Q .2 -.1(ve R)-.1 H(outines.).1 E
F0 .458(There are v)108 96 R .458
(ariations on all these routines that end in ')-.25 F .458
(s' and also end in 'i'. In the case of the ')-.55 F .459(s' v)-.55 F
(ariations)-.25 E(the)108 108 Q 2.955(yt)-.15 G(ak)-2.955 E 2.955(ea)-.1
G -.18(rg)-2.955 G .455(uments of type Scoord in C and inte).18 F .455
(ger*2 in FOR)-.15 F .454(TRAN. In the case of the 'i' v)-.6 F .454
(ariations the)-.25 F(y)-.15 E(tak)108 120 Q 2.5(ea)-.1 G -.18(rg)-2.5 G
(uments of type Icoord in C and inte).18 E(ger in FOR)-.15 E(TRAN.)-.6 E
/F2 10/Times-Italic@0 SF(mo)108 136.8 Q(ve\(x, y)-.1 E 2.5(,z)-.55 G(\))
-2.5 E F0(Mo)144 148.8 Q .3 -.15(ve c)-.15 H
(urrent graphics position to \(x, y).15 E 2.5(,z)-.65 G(\). \(x, y)-2.5
E 2.5(,z)-.65 G 2.5(\)i)-2.5 G 2.5(sap)-2.5 G(oint in w)-2.5 E
(orld coordinates.)-.1 E -.15(Fo)180 172.8 S(rtran:).15 E(subroutine mo)
216 184.8 Q -.15(ve)-.15 G(\(x, y).15 E 2.5(,z)-.65 G(\))-2.5 E
(real x, y)216 196.8 Q 2.5(,z)-.65 G(C:)180 220.8 Q(mo)216 232.8 Q -.15
(ve)-.15 G(\(x, y).15 E 2.5(,z)-.65 G(\))-2.5 E 8.5(Coord x,)252 244.8 R
1.3 -.65(y, z)2.5 H(;).65 E F2(rmv\(deltax, deltay)108 273.6 Q 2.5(,d)
-.55 G(eltaz\))-2.5 E F0(Relati)144 285.6 Q .3 -.15(ve m)-.25 H -.15
(ove).15 G 2.5(.d).15 G(eltax, deltay)-2.5 E 2.5(,a)-.65 G
(nd deltaz are of)-2.5 E(fsets in w)-.25 E(orld units.)-.1 E -.15(Fo)180
309.6 S(rtran:).15 E(subroutine rmv\(deltax, deltay)216 321.6 Q 2.5(,d)
-.65 G(eltaz\))-2.5 E(real deltax, deltay)216 333.6 Q 2.5(,d)-.65 G
(eltaz)-2.5 E(C:)180 357.6 Q(rmv\(deltax, deltay)216 369.6 Q 2.5(,d)-.65
G(eltaz\))-2.5 E 5(Coord deltax,)252 381.6 R(deltay)2.5 E 2.5(,d)-.65 G
(eltaz;)-2.5 E F2(mo)108 410.4 Q(ve2\(x, y\))-.1 E F0(Mo)144 422.4 Q .3
-.15(ve g)-.15 H
(raphics position to point \(x, y\). \(x, y\) is a point in w).15 E
(orld coordinates.)-.1 E -.15(Fo)180 446.4 S(rtran:).15 E(subroutine mo)
216 458.4 Q -.15(ve)-.15 G(2\(x, y\)).15 E(real x, y)216 470.4 Q(C:)180
494.4 Q(mo)216 506.4 Q -.15(ve)-.15 G(2\(x, y\)).15 E 8.5(Coord x,)252
518.4 R(y;)2.5 E F2(rmv2\(deltax, deltay\))108 547.2 Q F0(Relati)144
559.2 Q .3 -.15(ve m)-.25 H -.15(ove).15 G(2. deltax and deltay are of)
.15 E(fsets in w)-.25 E(orld units.)-.1 E -.15(Fo)180 583.2 S(rtran:).15
E(subroutine rmv2\(deltax, deltay\))216 595.2 Q(real deltax, deltay)216
607.2 Q(C:)180 631.2 Q(rmv2\(deltax, deltay\))216 643.2 Q 8.5
(Coord deltax,)252 655.2 R(deltay;)2.5 E F1(Line r)87 696 Q(outines.)
-.18 E F0 2.5(These routines)108 708 R
(set the line style and line width if the current de)2.5 E
(vice is capable of doing so.)-.25 E -.4(VO)72 768 S(GL 1.2.8).4 E
(12 Oct 1993)159.41 E(13)199.28 E EP
%%Page: 14 14
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 10/Times-Italic@0 SF(de\215inestyle\(n, style\))108 84 Q F0
(De\214ne a line style and binds it to the inte)144 96 Q(ger n. The)-.15
E(line style is a bit pattern of 16 bits width.)5 E -.15(Fo)180 108 S
(rtran:).15 E(subroutine de\215in\(n, style\))216 120 Q(inte)216 132 Q
5.88(ger n)-.15 F(inte)216 144 Q(ger style)-.15 E(C:)180 168 Q
(de\215inestyle\(n, style\))216 180 Q 13.5(short n;)252 192 R 32.28
(Linestyle style;)252 204 R F1(setlinestyle\(n\))108 244.8 Q F0
(Sets the current line style.)144 256.8 Q -.15(Fo)180 268.8 S(rtran:).15
E(subroutine setlin\(n\))216 280.8 Q(inte)216 292.8 Q 5.88(ger n)-.15 F
(C:)180 316.8 Q(setlinestyle\(n\))216 328.8 Q 13.5(short n;)252 340.8 R
F1(line)108 381.6 Q(width\(n\))-.15 E F0
(Sets the current line width to 'n' pix)144 393.6 Q(els wide.)-.15 E
-.15(Fo)180 405.6 S(rtran:).15 E(subroutine line)216 417.6 Q(wi\(n\))
-.25 E(inte)216 429.6 Q 5.88(ger n)-.15 F(C:)180 453.6 Q(line)216 465.6
Q(width\(n\))-.25 E 13.5(short n;)252 477.6 R/F2 10/Times-Bold@0 SF
(Drawing Routines.)87 530.4 Q F0 .458(There are v)108 542.4 R .458
(ariations on all these routines that end in ')-.25 F .458
(s' and also end in 'i'. In the case of the ')-.55 F .459(s' v)-.55 F
(ariations)-.25 E(the)108 554.4 Q 2.955(yt)-.15 G(ak)-2.955 E 2.955(ea)
-.1 G -.18(rg)-2.955 G .455(uments of type Scoord in C and inte).18 F
.455(ger*2 in FOR)-.15 F .454(TRAN. In the case of the 'i' v)-.6 F .454
(ariations the)-.25 F(y)-.15 E(tak)108 566.4 Q 2.5(ea)-.1 G -.18(rg)-2.5
G(uments of type Icoord in C and inte).18 E(ger in FOR)-.15 E(TRAN.)-.6
E F1(dr)108 583.2 Q(aw\(x, y)-.15 E 2.5(,z)-.55 G(\))-2.5 E F0(Dra)144
595.2 Q 2.5(wf)-.15 G(rom current graphics position to \(x, y)-2.5 E 2.5
(,z)-.65 G(\). \(x, y)-2.5 E 2.5(,z)-.65 G 2.5(\)i)-2.5 G 2.5(sap)-2.5 G
(oint in w)-2.5 E(orld coordinates.)-.1 E -.15(Fo)180 619.2 S(rtran:).15
E(subroutine dra)216 631.2 Q(w\(x, y)-.15 E 2.5(,z)-.65 G(\))-2.5 E
(real x, y)216 643.2 Q 2.5(,z)-.65 G(C:)180 667.2 Q(dra)216 679.2 Q
(w\(x, y)-.15 E 2.5(,z)-.65 G(\))-2.5 E 8.5(Coord x,)252 691.2 R 1.3
-.65(y, z)2.5 H(;).65 E -.4(VO)72 768 S(GL 1.2.8).4 E(12 Oct 1993)159.41
E(14)199.28 E EP
%%Page: 15 15
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E/F1 10/Times-Italic@0 SF -.37(rd)108 84 S(r\(deltax, deltay).37 E
2.5(,d)-.55 G(eltaz\))-2.5 E F0(Relati)144 96 Q .3 -.15(ve d)-.25 H(ra)
.15 E 1.3 -.65(w. d)-.15 H(eltax, deltay).65 E 2.5(,a)-.65 G
(nd deltaz are of)-2.5 E(fsets in w)-.25 E(orld units.)-.1 E -.15(Fo)180
120 S(rtran:).15 E(subroutine rdr\(deltax, deltay)216 132 Q 2.5(,d)-.65
G(eltaz\))-2.5 E(real deltax, deltay)216 144 Q 2.5(,d)-.65 G(eltaz)-2.5
E(C:)180 168 Q(rdr\(deltax, deltay)216 180 Q 2.5(,d)-.65 G(eltaz\))-2.5
E 5(Coord deltax,)252 192 R(deltay)2.5 E 2.5(,d)-.65 G(eltaz;)-2.5 E F1
(dr)108 220.8 Q(aw2\(x, y\))-.15 E F0(Dra)144 232.8 Q 2.5(wf)-.15 G(rom\
 current graphics position to point \(x, y\). \(x, y\) is a point in w)
-2.5 E(orld coordinates.)-.1 E -.15(Fo)180 256.8 S(rtran:).15 E
(subroutine dra)216 268.8 Q(w2\(x, y\))-.15 E(real x, y)216 280.8 Q(C:)
180 304.8 Q(dra)216 316.8 Q(w2\(x, y\))-.15 E 8.5(Coord x,)252 328.8 R
(y;)2.5 E F1 -.37(rd)108 357.6 S(r2\(deltax, deltay\)).37 E F0(Relati)
144 369.6 Q .3 -.15(ve d)-.25 H(ra).15 E(w2. deltax and deltay are of)
-.15 E(fsets in w)-.25 E(orld units.)-.1 E -.15(Fo)180 393.6 S(rtran:)
.15 E(subroutine rdr2\(deltax, deltay\))216 405.6 Q(real deltax, deltay)
216 417.6 Q(C:)180 441.6 Q(rdr2\(deltax, deltay\))216 453.6 Q 5
(Coord deltax,)252 465.6 R(deltay;)2.5 E/F2 10/Times-Bold@0 SF -1(Ve)87
506.4 S(rtex calls.)1 E F0 .122(There are calls which we term ')108
518.4 R -.15(ve)-.5 G(rte).15 E 2.622(xc)-.15 G .122
(alls' which simply specify a point in 4D, 3D or 2D. These calls tak)
-2.622 F(e)-.1 E(an array which speci\214es the coordinates of the poin\
t. The interpretation of these points is described belo)108 530.4 Q -.65
(w.)-.25 G F1(v4d\(v\))108 554.4 Q F0(Specify a v)2.5 E(erte)-.15 E
(x\(point\) in 4D using double precision numbers.)-.15 E -.15(Fo)144
578.4 S(rtran:).15 E(subroutine v4d\(v\))180 590.4 Q(real *8 v\(4\))180
602.4 Q(C:)144 626.4 Q(v4d\(v\))180 638.4 Q(double v[4];)216 650.4 Q F1
(v4f\(v\))108 686.4 Q F0(Specify a v)2.5 E(erte)-.15 E
(x\(point\) in 4D using single precision \215oating point numbers.)-.15
E -.15(Fo)144 710.4 S(rtran:).15 E(subroutine v4f\(v\))180 722.4 Q -.4
(VO)72 768 S(GL 1.2.8).4 E(12 Oct 1993)159.41 E(15)199.28 E EP
%%Page: 16 16
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.4(VO)72 48 S 387.44(GL\(3\) V).4 F(OGL\(3\))
-.4 E(real v\(4\))180 84 Q(C:)144 108 Q(v4f\(v\))180 120 Q
(\215oat v[4];)216 132 Q/F1 10/Times-Italic@0 SF(v4i\(v\))108 168 Q F0
(Specify a v)2.5 E(erte)-.15 E(x\(point\) in 4D using inte)-.15 E
(ger numbers)-.15 E -.15(Fo)144 192 S(rtran:).15 E(subroutine v4i\(v\))
180 204 Q(inte)180 216 Q(ger v\(4\))-.15 E(C:)144 240 Q(v4i\(v\))180 252
Q(long v[4];)216 264 Q F1(v4s\(v\))108 300 Q F0(Specify a v)2.5 E(erte)
-.15 E(x\(point\) in 4D using short inte)-.15 E(ger numbers)-.15 E -.15
(Fo)144 324 S(rtran:).15 E(subroutine v4s\(v\))180 336 Q(inte)180 348 Q
(ger *2)-.15 E(v\(4\))5 E(C:)144 372 Q(v4s\(v\))180 384 Q(short v[4];)
216 396 Q .925(There are also equi)108 448.8 R -.25(va)-.25 G .924(lent\
 calls for 3D points \(v3d, v3f, v3i, v3s\) and 2D points \(v2d, v2f, v\
2i, v2s\). The).25 F .226(only dif)108 460.8 R .226
(ference is the number of elements that each v)-.25 F(erte)-.15 E 2.726
(xn)-.15 G .227(eeds to be speci\214ed. It should also be noted the)
-2.726 F .094(the dif)108 472.8 R .094(ferent data types \(ie. double, \
\215oat, long and short\) are merely dif)-.25 F .093(ferent w)-.25 F
.093(ays of representing the same)-.1 F .848(basic coordinate data \(ca\
lling v3s with v[] = {100,200,200} is the same as calling v3f with v[] \
= {100.0,)108 484.8 R(200.0, 200.0}\).)108 496.8 Q .758(The w)108 520.8
R .757(ay these points are interpreted depends on what mode has be set \
up with one of the calls)-.1 F F1(bgnpoint,)3.257 E(bgnline)108 532.8 Q
3.488(,b)-.1 G .988(gnclosedline or bgnpolygon.)-3.488 F F0(The)5.988 E
F1(bgnpoint)3.488 E F0 .989(call speci\214es that the ne)3.489 F .989
(xt series of v)-.15 F(erte)-.15 E 3.489(xc)-.15 G .989(alls are)-3.489
F(specifying a chain of points \(dots\) to be dra)108 544.8 Q(wn. A)-.15
E F1(bgnpoint)2.5 E F0(is terminated with a)2.5 E 
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2008 Oliver Maruhn