-+-+-+-+-+-+-+-+ START OF PART 138 -+-+-+-+-+-+-+-+ X(ptkf_inqpostedwindows)e Fq(\(wsid,)h(num,)h(windowids,)e(totalnum,)g(err\)) X25 784 y(IN)91 b(INTEGER)50 b Fa(wsid)179 b Fq(workstation)10 Xb(identi\256er)n(.)25 834 y(IN)91 b(INTEGER)50 b Fa(num)181 Xb Fq(size)12 b(of)f(array)m(.)25 884 y(OUT)50 b(INTEGER)g Fa(windowids\(*\)) Ve XFq(list)10 b(of)h(posted)g(windows.)25 934 y(OUT)50 b(INTEGER)g XFa(totalnum)113 b Fq(length)10 b(of)h(posted)g(windows)f(list.)25 X984 y(OUT)50 b(INTEGER)g Fa(err)206 b Fq(error)11 b(indicator)n(.)0 X1052 y(This)g(function)f(may)i(be)f(used)h(to)f(obtain)f(a)i(list)e(of)h(all V) Xg(windows)f(posted)h(to)g(the)g(workstation)e Fi(wsid)p Fq(.)p X1317 1150 550 2 v 1317 1229 2 80 v 1331 1203 a Fb(ptkf_inqptinte)o(resta)o X(xis)p 1864 1229 V 1317 1231 550 2 v 11 1305 a Fq(SUBROUTINE)j XFp(ptkf_inqptinter)o(estaxis)e Fq(\(windid,)g(axis,)i(err\))25 X1394 y(IN)91 b(INTEGER)50 b Fa(windid)55 b Fq(window)10 b(identi\256er)n(.)2 V5 X1443 y(OUT)50 b(REAL)119 b Fa(axis\(3\))48 b Fq(camera)13 b(point)d(of)h X(interest)g(axis)g(of)g(rotation.)25 1493 y(OUT)50 b(INTEGER)g XFa(err)112 b Fq(error)11 b(indicator)n(.)0 1562 y(This)k(function)f(may)h(be V) Xh(used)f(to)g(obtain)f(the)h(axis)g(of)g(rotation)e(which)i(is)g(used)g(to)g X(rotate)f(the)h(camera)j(point)13 b(of)i(interest)0 1612 y(in)c(the)g X(function)f Fi(ptk_rotatecameraptinter)q(est)p Fq(.)p 1337 X1709 530 2 v 1337 1788 2 80 v 1351 1763 a Fb(ptkf_inqtermi)o(nal)o(dat)o(a)p X1864 1788 V 1337 1790 530 2 v 11 1864 a Fq(SUBROUTINE)i Fp X(ptkf_inqterminaldata)d Fq(\(windid,)h(numlines,)h(numcolumns,)g(txfont,)f X(txcolour)n(,)h(err\))25 1953 y(IN)91 b(INTEGER)50 b Fa(windid)130 Xb Fq(terminal)10 b(window)h(identi\256er)n(.)25 2003 y(OUT)50 Xb(INTEGER)g Fa(numlines)88 b Fq(number)11 b(of)g(lines)g(in)f(window)m(.)25 X2053 y(OUT)50 b(INTEGER)g Fa(numcolmns)f Fq(number)11 b(of)g(columns)g(in)g X(window)m(.)25 2102 y(OUT)50 b(INTEGER)g Fa(txfont)143 b Fq(text)10 Xb(font.)25 2152 y(OUT)50 b(INTEGER)g Fa(txcolour)105 b Fq(text)10 Xb(colour)n(.)25 2202 y(OUT)50 b(INTEGER)g Fa(err)187 b Fq(error)11 Xb(indicator)n(.)0 2271 y(This)16 b(function)e(may)i(be)g(used)g(to)f(obtain) Vg X(the)g(number)h(of)f(lines)g(displayed)g(in)g(a)h(TERMINAL)h(window)d(and)i X(the)g(num-)0 2321 y(ber)11 b(of)g(characters)i(in)e(a)h(line.)j(Also)10 Xb(the)h(text)g(font)f(and)i(colour)e(used)i(are)g(returned)f(in)f XFi(txfont)j Fq(and)e Fi(txcolour)p Fq(.)0 2956 y(13th)22 b(May)m(,)12 Xb(1992)626 b(232)828 b(2.01)p eop X%%Page: 233 234 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1170 -19 696 2 v 1170 60 2 80 v 1185 35 a Fb(ptkf_inqtermi)o(nal V) Xo(\257oatfo)o(rma)o(t)p 1864 60 V 1170 62 696 2 v 11 136 a XFq(SUBROUTINE)12 b Fp(ptkf_inqterminal\257oatformat)c Fq(\(windid,)i(size,)i X(totalsize,)g(rformat,)f(err\))25 225 y(IN)91 b(INTEGER)193 Xb Fa(windid)79 b Fq(terminal)10 b(window)h(identi\256er)n(.)25 X275 y(IN)91 b(INTEGER)193 b Fa(size)116 b Fq(size)12 b(of)f(buf)o(fer)n(,)g X(in)g(bytes,)h(as)g(allocated)f(by)g(application.)25 324 y(IN)91 Xb(INTEGER)193 b Fa(totalsize)48 b Fq(actual)11 b(size)h(of)f(buf)o(fer)n(.)2 V5 X374 y(IN)91 b(CHARACTER*\(*\))48 b Fa(rformat)67 b Fq(string)10 Xb(giving)f(C-type)i(\257oat)g(number)g(output)e(style.)25 424 Xy(OUT)50 b(INTEGER)193 b Fa(err)136 b Fq(error)11 b(indicator)n(.)0 X493 y(This)k(function)f(may)i(be)g(used)f(to)g(obtain)f(the)h X(\257oating-point)e(used)i(for)g(writing)f(\257oating-point)e(numbers)k(to)e X(a)i(TERMI-)0 543 y(NAL)c(window)m(.)p 1257 640 610 2 v 1257 X719 2 80 v 1271 694 a Fb(ptkf_inqtermina)o(lstr)o(ucti)o(d)p X1864 719 V 1257 721 610 2 v 11 795 a Fq(SUBROUTINE)g Fp X(ptkf_inqterminalstructid)e Fq(\(windid,)g(termwinstid,)g(err\))25 X884 y(IN)91 b(INTEGER)50 b Fa(windid)128 b Fq(terminal)10 b(window)h X(identi\256er)n(.)25 934 y(OUT)50 b(INTEGER)g Fa(termwinstid)f XFq(text)10 b(structure)h(identi\256er)n(.)25 984 y(OUT)50 b(INTEGER)g XFa(err)185 b Fq(error)11 b(indicator)n(.)0 1052 y(This)k(function)e(may)i(be V) Xg(used)g(to)g(obtain)e(the)i(identi\256er)f(of)g(the)h(structure)f(used)h(to V) Xf(display)g(the)h(text)f(written)f(to)i(a)g(TER-)0 1102 y(MINAL)c(window)m(. V) Xp 1207 1199 660 2 v 1207 1279 2 80 v 1221 1253 a Fb(ptkf_inqtopologyvie)o X(ware)o(a)p 1864 1279 V 1207 1281 660 2 v 11 1355 a Fq(SUBROUTINE)h XFp(ptkf_inqtopologyvi)o(ewar)o(ea)e Fq(\(windid,)g(viewarea,)i(err\))25 X1443 y(IN)91 b(INTEGER)50 b Fa(windid)133 b Fq(window)11 b(identi\256er)n(.) X25 1493 y(OUT)50 b(REAL)119 b Fa(viewarea\(4\))47 b Fq(area)13 Xb(of)e(topology)e(to)i(view)m(.)25 1543 y(OUT)50 b(INTEGER)g XFa(err)190 b Fq(error)12 b(indicator)n(.)0 1612 y(This)k(function)e(may)i(be V) Xg(used)f(to)g(obtain)g(the)g(viewing)g(area)i(of)e(a)h(topology)d(diagram)j X(posted)f(to)g(a)h(T)o(OPOLOGY)h(win-)0 1662 y(dow)m(.)p 1433 X1759 434 2 v 1433 1838 2 80 v 1447 1813 a Fb(ptkf_inqusericon)p X1864 1838 V 1433 1840 434 2 v 11 1914 a Fq(SUBROUTINE)12 b XFp(ptkf_inqusericon)f Fq(\(windid,)f(iconstid,)g(err\))25 2003 Xy(IN)91 b(INTEGER)50 b Fa(windid)69 b Fq(window)10 b(identi\256er)n(.)25 X2053 y(OUT)50 b(INTEGER)g Fa(iconstid)e Fq(user)11 b(icon)g(structure)g X(identi\256er)n(.)25 2102 y(OUT)50 b(INTEGER)g Fa(err)126 b XFq(error)11 b(indicator)n(.)0 2171 y(This)f(function)g(may)h(be)g(used)f(to) Vg X(obtain)g(the)g(identi\256er)g(of)g(a)h(user)g(created)h(icon)e(structure.)k X(The)e(structure)d(is)i(referenced)h(by)0 2221 y(the)f(window')n(s)f(icon)h X(structure.)0 2956 y(13th)22 b(May)m(,)12 b(1992)626 b(233)828 Xb(2.01)p eop X%%Page: 234 235 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1340 -19 527 2 v 1340 60 2 80 v 1354 35 a Fb(ptkf_inqwindowattrs V) Xp 1864 60 V 1340 62 527 2 v 11 136 a Fq(SUBROUTINE)12 b Fp X(ptkf_inqwindowattrs)e Fq(\(windid,)d(titlefont,)f(titlecol,)i(bannercol,)h X(backgdcol,)f(edgecol,)671 186 y(frametlcol,)j(frambrcol,)h(err\))25 X236 y(IN)91 b(INTEGER)50 b Fa(windid)116 b Fq(window)10 b(identi\256er)n(.)2 V5 X286 y(OUT)50 b(INTEGER)g Fa(titlefont)101 b Fq(title)10 b(string)g(font.)25 X336 y(OUT)50 b(INTEGER)g Fa(titlecol)115 b Fq(title)10 b(string)g(colour)g X(index.)25 386 y(OUT)50 b(INTEGER)g Fa(bannercol)59 b Fq(banner)11 Xb(colour)g(index.)25 436 y(OUT)50 b(INTEGER)g Fa(backgdcol)55 Xb Fq(background)10 b(colour)h(index)f(of)h(window)m(.)25 485 Xy(OUT)50 b(INTEGER)g Fa(edgecol)91 b Fq(edge)12 b(colour)e(index)h(of)g X(window)m(.)25 535 y(OUT)50 b(INTEGER)g Fa(frametlcol)62 b XFq(top-left)9 b(frame)k(colour)d(index.)25 585 y(OUT)50 b(INTEGER)g XFa(framebrcol)e Fq(bottom-right)8 b(frame)k(colour)f(index.)25 X635 y(OUT)50 b(INTEGER)g Fa(err)173 b Fq(error)11 b(indicator)n(.)0 X704 y(This)g(function)f(may)i(be)f(used)h(to)f(obtain)f(the)h(text)g(font)f X(and)h(colour)g(attribute)f(values)h(of)g(a)h(window)m(.)p X1373 801 494 2 v 1373 880 2 80 v 1387 855 a Fb(ptkf_inqwindowids)p X1864 880 V 1373 882 494 2 v 11 956 a Fq(SUBROUTINE)g Fp(ptkf_inqwindowids)e XFq(\(num,)h(windowids,)f(totalnum,)g(err\))25 1045 y(IN)91 Xb(INTEGER)50 b Fa(num)181 b Fq(size)12 b(of)f(array)m(.)25 X1095 y(OUT)50 b(INTEGER)g Fa(windowids\(*\))e Fq(list)10 b(of)h(windows.)25 X1145 y(OUT)50 b(INTEGER)g Fa(totalnum)113 b Fq(length)10 b(of)h(windows)g X(list.)25 1194 y(OUT)50 b(INTEGER)g Fa(err)206 b Fq(error)11 Xb(indicator)n(.)0 1263 y(This)g(function)f(may)i(be)f(used)h(to)f(obtain)f(a V) Xi(list)e(of)h(all)g(windows)f(in)h(the)g(PHIGS)g(T)m(oolkit)f(window)g X(store.)p 1313 1360 553 2 v 1313 1439 2 80 v 1327 1414 a Fb X(ptkf_inqwindowname)p 1864 1439 V 1313 1441 553 2 v 11 1515 Xa Fq(SUBROUTINE)i Fp(ptkf_inqwindowname)e Fq(\(windid,)g(name,)i(err\))25 X1604 y(IN)91 b(INTEGER)50 b Fa(windid)f Fq(window)10 b(identi\256er)n(.)25 X1654 y(OUT)50 b(INTEGER)g Fa(name)61 b Fq(window)10 b(name.)25 X1704 y(OUT)50 b(INTEGER)g Fa(err)106 b Fq(error)11 b(indicator)n(.)0 X1773 y(This)16 b(function)e(may)i(be)h(used)f(to)f(obtain)g(the)g(window)g X(name)i(to)e(be)h(used)g(in)f(namesets)i(for)f(the)f(pick,)i(invisibility)12 Xb(and)0 1823 y(highlighti)o(ng)c(\256lters.)p 1250 1920 617 X2 v 1250 1999 2 80 v 1264 1974 a Fb(ptkf_inqwindowposition)p X1864 1999 V 1250 2001 617 2 v 11 2075 a Fq(SUBROUTINE)k Fp X(ptkf_inqwindowposition)d Fq(\(windid,)g(position,)h(err\))25 X2164 y(IN)91 b(INTEGER)50 b Fa(windid)114 b Fq(window)10 b(identi\256er)n(.) X25 2214 y(OUT)50 b(REAL)119 b Fa(position\(2\))47 b Fq(window)10 Xb(position.)25 2263 y(OUT)50 b(INTEGER)g Fa(err)171 b Fq(error)11 Xb(indicator)n(.)0 2332 y(This)k(function)f(may)i(be)f(used)h(to)e(obtain)g X(the)h(position)e(of)i(the)g(centre)h(of)f(a)h(window)m(.)26 Xb(The)16 b(position)d(is)i(returned)g(in)f(the)0 2382 y(range)e(`5B0,)f(1`5D V.)0 X2956 y(13th)22 b(May)m(,)12 b(1992)626 b(234)828 b(2.01)p eop X%%Page: 235 236 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1350 -19 517 2 v 1350 60 2 80 v 1364 35 a Fb(ptkf_inqwindowsize) Vp X1864 60 V 1350 62 517 2 v 11 136 a Fq(SUBROUTINE)12 b Fp(ptkf_inqwindowsize) Ve XFq(\(windid,)g(size,)j(err\))25 225 y(IN)91 b(INTEGER)50 b XFa(windid)55 b Fq(window)10 b(identi\256er)n(.)25 275 y(OUT)50 Xb(REAL)119 b Fa(size\(2\))48 b Fq(window)10 b(size.)25 324 Xy(OUT)50 b(INTEGER)g Fa(err)112 b Fq(error)11 b(indicator)n(.)0 X393 y(This)g(function)f(may)i(be)f(used)h(to)f(obtain)f(the)h(size)h(of)f(a) Vh X(window)e(which)h(is)g(returned)g(in)f(the)i(range)f(`5B0,)h(1`5D.)p X1263 491 603 2 v 1263 570 2 80 v 1278 544 a Fb(ptkf_inqwindowstructi)o(d)p X1864 570 V 1263 572 603 2 v 11 646 a Fq(SUBROUTINE)g Fp X(ptkf_inqwindowstructid)e Fq(\(windid,)g(windowstid,)g(iconstid,)g(err\))25 X735 y(IN)91 b(INTEGER)50 b Fa(windid)122 b Fq(window)10 b(identi\256er)n(.)2 V5 X784 y(OUT)50 b(INTEGER)g Fa(windowstid)f Fq(window)10 b(structure)h X(identi\256er)n(.)25 834 y(OUT)50 b(INTEGER)g Fa(iconstid)101 Xb Fq(window)10 b(structure)h(identi\256er)n(.)25 884 y(OUT)50 Xb(INTEGER)g Fa(err)179 b Fq(error)11 b(indicator)n(.)0 953 Xy(This)j(function)e(may)i(be)g(used)g(to)f(obtain)g(the)g(identi\256er)g(of) Vg X(a)i(window)d(structure)h(and)h(its)f(corresponding)f(icon)i(structure.)0 X1003 y(The)f(window)e(structure)g(is)h(a)h(network)e(with)h(references)h(to) Vf X(all)g(the)g(items)g(posted)g(to)f(the)h(window)m(.)18 b(The)12 Xb(default)g(icon)g(is)g(a)0 1052 y(single)f(structure)f(containing)g(the)h X(window)f(identi\256er)n(.)p 1340 1150 527 2 v 1340 1229 2 X80 v 1354 1203 a Fb(ptkf_inqwindowtype)p 1864 1229 V 1340 1231 X527 2 v 11 1305 a Fq(SUBROUTINE)i Fp(ptkf_inqwindowtype)e Fq(\(windid,)g X(type,)h(err\))25 1394 y(IN)91 b(INTEGER)50 b Fa(windid)f Fq(window)10 Xb(identi\256er)n(.)25 1443 y(OUT)50 b(INTEGER)g Fa(type)82 Xb Fq(window)10 b(type.)25 1493 y(OUT)50 b(INTEGER)g Fa(err)106 Xb Fq(error)11 b(indicator)n(.)0 1562 y(This)j(function)f(may)i(be)f(used)h X(to)e(inquire)g(the)h(type)g(of)g(a)h(window)m(.)23 b(The)15 Xb(available)f(types)g(are)h(STRUCT)m(,)g(T)o(OPOLOGY)-5 b(,)0 X1612 y(CONTENT)11 b(and)g(TERMINAL.)h(The)f(default)f(window)f(type)h(is)h X(STRUCT)g(and)f(may)h(be)g(used)g(to)f(view)g(any)h(PHIGS)g(struc-)0 X1662 y(tures.)p 1250 1759 616 2 v 1250 1838 2 80 v 1264 1813 Xa Fb(ptkf_inqwindowviewrep)p 1864 1838 V 1250 1840 616 2 v X11 1914 a Fq(SUBROUTINE)h Fp(ptkf_inqwindowviewr)o(ep)f Fq(\(windid,)27 Xb(vwormt,)i(vwmpmt,)f(vwcplm,)i(xyclpi,)e(bclipi,)728 1964 Xy(fclipi,)10 b(err\))25 2016 y(IN)91 b(INTEGER)50 b Fa(windid)164 Xb Fq(window)10 b(identi\256er)n(.)25 2066 y(OUT)50 b(REAL)119 Xb Fa(vwormt\(4,)10 b(4\))67 b Fq(view)11 b(orientation)e(matrix.)25 X2116 y(OUT)50 b(REAL)119 b Fa(vwmpmt\(4,)11 b(4\))49 b Fq(view)11 Xb(mapping)g(matrix.)25 2165 y(OUT)50 b(REAL)119 b Fa(vwcplm\(6\))103 Xb Fq(view)11 b(clipping)e(limits.)25 2215 y(OUT)50 b(INTEGER)g XFa(xyclpi)175 b Fq(x-y)11 b(clipping)e(indicator)n(.)25 2265 Xy(OUT)50 b(INTEGER)g Fa(bclipi)183 b Fq(back)12 b(clipping)d(indicator)n(.)2 V5 X2315 y(OUT)50 b(INTEGER)g Fa(fclipi)193 b Fq(front)10 b(clipping)f(indicator V) Xn(.)25 2365 y(OUT)50 b(INTEGER)g Fa(err)221 b Fq(error)11 b(indicator)n(.)0 X2434 y(This)17 b(function)e(may)i(be)g(used)g(to)f(obtain)g(the)g(viewing)g X(parameters)i(which)e(are)i(used)f(to)f(set)h(the)f(window)g(view)g(when)0 X2483 y(the)11 b(camera)i(is)f(switched)e(OFF)m(.)0 2956 y(13th)22 Xb(May)m(,)12 b(1992)626 b(235)828 b(2.01)p eop X%%Page: 236 237 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1317 -19 550 2 v 1317 60 2 80 v 1331 35 a Fb(ptkf_locscanwindows V) Xp 1864 60 V 1317 62 550 2 v 0 136 a Fq(LOGICAL)12 b(FUNCTION)f XFp(ptkf_locscanwindows)f Fq(\(wsid,)i(point,)e(windowid,)f(windarea,)j X(value\))25 225 y(IN)91 b(INTEGER)50 b Fa(wsid)167 b Fq(workstation)10 Xb(identi\256er)n(.)25 275 y(IN)91 b(REAL)119 b Fa(point\(2\))d XFq(input)10 b(point.)25 324 y(OUT)50 b(INTEGER)g Fa(windowid)92 Xb Fq(window)11 b(identi\256er)n(.)25 374 y(OUT)50 b(INTEGER)g XFa(windowarea)e Fq(window)11 b(area.)25 424 y(OUT)50 b(REAL)119 Xb Fa(value\(2\))108 b Fq(position)10 b(of)h(point)e(within)h(window)g(area.) V0 X493 y(This)15 b(function)f(uses)i(the)g(INCREMENT)m(AL)f(SP)l(A)-5 Xb(TIAL)17 b(SEARCH)f(function)e(of)h(PHIGS)g(to)g(test)g(if)g XFi(point)i Fq(lies)e(within)0 543 y(a)h(window)e(posted)h(to)f(workstation)g XFi(wsid)p Fq(.)28 b(The)16 b(window)e(area)i(\(one)g(of)f(BANNER,)g(VIEW)l(, V) Xh(FRAME)g(or)f(ICON\))f(and)0 593 y(the)e(position)d(of)j Fi(point)h XFq(relative)e(to)g(the)h(bottom-left)e(corner)i(of)f(the)h(bounding)e(box)h X(of)h(the)f(window)g(area)i(are)g(returned)e(in)0 642 y Fi(windowarea)i XFq(and)e Fi(value)p Fq(.)17 b(The)12 b(function)e(returns)g(TRUE)i(if)f XFi(point)h Fq(lies)f(within)f(a)i(window)m(,)e(otherwise)h(F)m(ALSE.)p X1403 740 464 2 v 1403 819 2 80 v 1417 793 a Fb(ptkf_openwindow)p X1864 819 V 1403 821 464 2 v 11 895 a Fq(SUBROUTINE)h Fp(ptkf_openwindow)e XFq(\(windid\))25 994 y(IN)50 b(INTEGER)g Fa(windid)f Fq(window)10 Xb(identi\256er)n(.)0 1094 y(This)h(function)f(posts)h(the)g(window)f X(structure)h(and)g(unposts)f(the)h(icon)g(structure)g(from)g(the)g(window')n X(s)f(workstation.)p 1287 1191 580 2 v 1287 1270 2 80 v 1301 X1245 a Fb(ptkf_pickscanwindows)p 1864 1270 V 1287 1272 580 X2 v 0 1346 a Fq(LOGICAL)i(FUNCTION)f Fp(ptkf_pickscanwindows)g XFq(\(ippd,)f(pp,)i(ppordr)n(,)e(windowid\))25 1435 y(IN)91 Xb(INTEGER)50 b Fa(ippd)152 b Fq(depth)10 b(of)h(pick)g(path.)25 X1485 y(IN)91 b(INTEGER)50 b Fa(pp\(3,)10 b(ippd\))48 b Fq(pick)11 Xb(path)g(through)e(structure)i(network..)25 1535 y(IN)91 b(INTEGER)50 Xb Fa(ppordr)116 b Fq(order)11 b(of)g(data)g(in)g(pickpath.)25 X1585 y(OUT)50 b(INTEGER)g Fa(windowid)74 b Fq(window)10 b(identi\256er)n(.)0 X1653 y(This)15 b(function)e(tests)i(the)f(pick)h(path)f(to)g(inquire)g(if)g X(a)h(window)f(structure)g(was)h(picked.)26 b(The)15 b(window)f(area)i(picked V) +-+-+-+-+-+-+-+- END OF PART 138 +-+-+-+-+-+-+-+-