-+-+-+-+-+-+-+-+ START OF PART 123 -+-+-+-+-+-+-+-+ Xb(Pint)122 b Fa(windid)49 b Fq(window)10 b(identi\256er)n(.)25 X2232 y(IN)50 b(Ppoint)9 b(*)50 b Fa(size)86 b Fq(frame)12 b(size.)0 X2307 y(This)f(function)f(sets)i(the)f(thickness)g(of)g(the)g(window)f(frame. V) X16 b(The)c(x)g(and)f(y)g(dimensions)g(are)h(given)e(in)h(the)g(range)h(`5B0, V)f X(1`5D.)0 2956 y(13th)22 b(May)m(,)12 b(1992)626 b(154)828 b(2.01)p Xeop X%%Page: 155 156 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1370 -19 497 2 v 1370 60 2 80 v 1384 35 a Fb(ptk_seticonpositi)o X(on)p 1864 60 V 1370 62 497 2 v 0 136 a Fq(void)10 b Fp(ptk_seticonposition) Vg XFq(\()i(Pint)e Fa(windid)p Fq(,)h(Ppoint)f(*)p Fa(position)e XFq(\))25 225 y(IN)50 b(Pint)122 b Fa(windid)70 b Fq(window)10 Xb(identi\256er)n(.)25 275 y(IN)50 b(Ppoint)9 b(*)50 b Fa(position)d XFq(icon)11 b(position.)0 350 y(This)i(function)e(sets)i(the)g(position)e(of) Vh X(the)h(centre)g(of)g(the)g(window')n(s)e(icon)h(structure.)20 Xb(The)13 b(position)e(is)i(given)f(in)g(the)h(range)0 400 y(`5B0,)e(1`5D.)p X1469 497 397 2 v 1469 576 2 80 v 1483 551 a Fb(ptk_seticonsize)p X1864 576 V 1469 578 397 2 v 0 652 a Fq(void)f Fp(ptk_seticonsize)i XFq(\()f(Pint)g Fa(windid)p Fq(,)f(Ppoint)g(*)p Fa(size)g Fq(\))25 X741 y(IN)50 b(Pint)122 b Fa(windid)49 b Fq(window)10 b(identi\256er)n(.)25 X791 y(IN)50 b(Ppoint)9 b(*)50 b Fa(size)86 b Fq(icon)11 b(size.)0 X866 y(This)g(function)f(sets)i(the)f(size)h(of)f(the)g(window')n(s)f(icon)h X(structure.)k(The)c(size)h(is)g(given)e(in)h(the)g(range)h(`5B0,)f(1`5D.)p X1376 963 490 2 v 1376 1042 2 80 v 1390 1017 a Fb(ptk_setpositionaxis)p X1864 1042 V 1376 1044 490 2 v 0 1118 a Fq(void)f Fp(ptk_setpositionaxis)g XFq(\()h(Pint)f Fa(windid)p Fq(,)h(Ppoint3)f(*)p Fa(axis)g Fq(\))25 X1207 y(IN)50 b(Pint)143 b Fa(windid)48 b Fq(window)11 b(identi\256er)n(.)25 X1257 y(IN)50 b(Ppoint3)9 b(*)50 b Fa(axis)85 b Fq(axis)12 b(of)f(rotation.)0 X1332 y(This)39 b(function)f(sets)h(the)g(axis)g(of)g(rotation)e(for)i X(rotating)f(the)g(camera)k(position)37 b(using)h(the)h(function)0 X1382 y Fi(ptk_rotatecameraposit)q(ion)p Fq(.)p 1346 1479 520 X2 v 1346 1558 2 80 v 1361 1532 a Fb(ptk_setptinte)o(resta)o(xis)p X1864 1558 V 1346 1560 520 2 v 0 1634 a Fq(void)10 b Fp(ptk_setptinter)o X(estaxis)i Fq(\()f(Pint)f Fa(windid)p Fq(,)h(Ppoint3)f(*)p XFa(axis)g Fq(\))25 1723 y(IN)50 b(Pint)143 b Fa(windid)48 b XFq(window)11 b(identi\256er)n(.)25 1772 y(IN)50 b(Ppoint3)9 Xb(*)50 b Fa(axis)85 b Fq(axis)12 b(of)f(rotation.)0 1848 y(This)27 Xb(function)f(sets)i(the)f(axis)h(of)f(rotation)f(for)h(rotating)e(the)j X(camera)h(point)d(of)h(interest)g(using)f(the)i(function)0 X1897 y Fi(ptk_rotatecameraptint)q(erest)p Fq(.)p 1366 1995 X500 2 v 1366 2074 2 80 v 1381 2048 a Fb(ptk_settermi)o(nal)o(dat)o(a)p X1864 2074 V 1366 2076 500 2 v 0 2150 a Fq(void)10 b Fp(ptk_setterminaldata)g XFq(\()i(Pint)e Fa(windid)p Fq(,)h(Pint)f Fa(numlines)p Fq(,)g(Pint)g XFa(txfont)p Fq(,)g(Pint)h Fa(txcolour)e Fq(\))25 2238 y(IN)50 Xb(Pint)e Fa(windid)129 b Fq(terminal)11 b(window)f(identi\256er)n(.)25 X2288 y(IN)50 b(Pint)e Fa(numlines)87 b Fq(number)12 b(of)f(lines)f(in)h X(window)m(.)25 2338 y(IN)50 b(Pint)e Fa(numcolmns)g Fq(number)12 Xb(of)f(columns)g(in)f(window)m(.)25 2388 y(IN)50 b(Pint)e Fa(txfont)142 Xb Fq(text)11 b(font.)25 2438 y(IN)50 b(Pint)e Fa(txcolour)104 Xb Fq(text)11 b(colour)n(.)0 2507 y(This)g(function)f(sets)h(the)g(number)h X(of)e(lines)h(to)g(be)g(displayed)g(in)f(a)i(TERMINAL)g(window)e(and)h(which V) Xg(text)g(font)f(and)h(colour)0 2556 y(to)g(use.)0 2956 y(13th)22 Xb(May)m(,)12 b(1992)626 b(155)828 b(2.01)p eop X%%Page: 156 157 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1200 -19 666 2 v 1200 60 2 80 v 1214 35 a Fb(ptk_setterminal)o X(\257oatfo)o(rma)o(t)p 1864 60 V 1200 62 666 2 v 0 136 a Fq(void)10 Xb Fp(ptk_setterminal\257oatformat)g Fq(\()h(Pint)f Fa(windid)p XFq(,)h(Pchar)h(*)p Fa(rformat)e Fq(\))25 225 y(IN)50 b(Pint)108 Xb Fa(windid)61 b Fq(terminal)10 b(window)h(identi\256er)n(.)25 X275 y(IN)50 b(Pchar)11 b(*)50 b Fa(rformat)f Fq(string)10 b(giving)f(C-type) Vh X(\257oat)i(number)f(output)e(style.)0 350 y(This)15 b(function)e(sets)i(the) Vg X(format)g(for)f(writing)f(\257oating-point)f(numbers)j(to)f(a)h(TERMINAL)h X(window)m(.)25 b(The)15 b(format)g(used)0 400 y(is)c(the)g(same)i(syntax)e X(as)h(in)e(the)i(C)f(language.)p 1237 497 630 2 v 1237 576 X2 80 v 1251 551 a Fb(ptk_settopologyvie)o(ware)o(a)p 1864 576 XV 1237 578 630 2 v 0 652 a Fq(void)f Fp(ptk_settopologyviewar)o(ea)g XFq(\()i(Pint)e Fa(windid)p Fq(,)h(Plimit)f(*)p Fa(viewarea)f XFq(\))25 741 y(IN)50 b(Pint)115 b Fa(windid)90 b Fq(window)10 Xb(identi\256er)n(.)25 791 y(IN)50 b(Plimit)9 b(*)50 b Fa(viewarea)e XFq(area)13 b(of)e(topology)e(to)h(view)m(.)0 866 y(This)g(function)f(sets)i X(the)f(viewing)g(area)h(of)g(a)g(topology)d(diagram)i(posted)g(to)g(a)h(T)o X(OPOLOGY)h(window)m(.)i(The)d(area)h(is)e(de\256ned)0 915 y(in)h(the)g(range V) Xg(`5B0,)h(1`5D.)p 1463 1013 404 2 v 1463 1092 2 80 v 1477 1066 Xa Fb(ptk_setusericon)p 1864 1092 V 1463 1094 404 2 v 0 1168 Xa Fq(void)e Fp(ptk_setusericon)j Fq(\()e(Pint)f Fa(windid)p XFq(,)h(Pint)f Fa(usericon)f Fq(\))25 1257 y(IN)50 b(Pint)e XFa(windid)93 b Fq(window)10 b(identi\256er)n(.)25 1306 y(IN)50 Xb(Pint)e Fa(user)10 b(icon)48 b Fq(icon)11 b(structure)g(identi\256er)n(.)0 X1382 y(This)k(function)e(enables)i(the)g(application)e(to)h(specify)h(a)g X(structure)f(identi\256er)g(to)g(use)h(as)g(a)h(window)d(icon.)26 Xb(The)15 b(structure)0 1431 y(is)10 b(executed)g(from)g(the)f(window')n(s)g X(default)g(icon)g(structure)h(and)f(the)h(icon)g(size)g(and)g(position)e X(functions)g(still)g(apply)i(provided)0 1481 y(the)h(user)h(icon)f(is)g X(de\256ned)g(within)f(the)h(W)m(orld)f(Coordinate)g(range)i(`5B0,)f(1`5D.)p X1323 1578 543 2 v 1323 1657 2 80 v 1337 1632 a Fb(ptk_setviewclippi)o(ng3)p X1864 1657 V 1323 1659 543 2 v 0 1733 a Fq(void)f Fp(ptk_setviewclipping3)g XFq(\()g(Pint)e Fa(windid)p Fq(,)h(Plimit3)f(*)p Fa(cliplims)p XFq(,)h(Pclip)g Fa(clipxy)p Fq(,)f(Pclip)h Fa(clipback)p Fq(,)470 X1783 y(Pclip)i Fa(clipfront)e Fq(\))25 1835 y(IN)50 b(Pint)136 Xb Fa(windid)76 b Fq(window)10 b(identi\256er)n(.)25 1885 y(IN)50 Xb(Plimit3)9 b(*)50 b Fa(cliplims)60 b Fq(view)11 b(clipping)f(limits.)25 X1935 y(IN)50 b(Pclip)118 b Fa(clipxy)87 b Fq(x-y)11 b(clipping)e(indicator)n X(.)25 1985 y(IN)50 b(Pclip)118 b Fa(clipback)47 b Fq(back)12 Xb(plane)f(clipping)f(indicator)n(.)25 2035 y(IN)50 b(Pclip)118 Xb Fa(clipfront)51 b Fq(front)10 b(plane)h(clipping)f(indicator)n(.)0 X2104 y(This)15 b(function)f(sets)i(the)f(window)f(view)h(clipping)f(values.) X27 b(The)16 b(camera)i(must)d(be)g(switched)g(OFF)h(for)f(these)g(values)h X(to)0 2153 y(be)c(set.)0 2956 y(13th)22 b(May)m(,)12 b(1992)626 Xb(156)828 b(2.01)p eop X%%Page: 157 158 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1310 -19 557 2 v 1310 60 2 80 v 1324 35 a Fb(ptk_setviewmappi)o X(ng3)p 1864 60 V 1310 62 557 2 v 0 136 a Fq(void)10 b Fp(ptk_setviewmapping3 V) Xg Fq(\()16 b(Pint)f Fa(windid)p Fq(,)h(Plimit)f(*)p Fa(window)p XFq(,)h(Plimit3)f(*)p Fa(viewport)p Fq(,)g(Pproj-)484 186 y(type)8 Xb Fa(proj)p Fq(,)g(Ppoint3)f(*)p Fa(prp)p Fq(,)h(P\257oat)g XFa(viewplane)p Fq(,)f(P\257oat)i Fa(backplane)p Fq(,)484 236 Xy(P\257oat)i Fa(frontplane)p Fq(,)e(Pint)h(*)p Fa(error)g Fq(\))25 X287 y(IN)91 b(Pint)143 b Fa(windid)110 b Fq(window)10 b(identi\256er)n(.)25 X336 y(IN)91 b(Plimit)10 b(*)77 b Fa(window)93 b Fq(view)11 Xb(window)m(.)25 386 y(IN)91 b(Plimit3)10 b(*)56 b Fa(viewport)78 Xb Fq(projection)10 b(viewport.)25 436 y(IN)91 b(Pprojtype)48 Xb Fa(proj)151 b Fq(projection)10 b(type.)25 486 y(IN)91 b(Ppoint3)10 Xb(*)49 b Fa(prp)159 b Fq(projection)10 b(reference)i(point.)25 X536 y(IN)91 b(P\257oat)114 b Fa(viewplane)52 b Fq(view)11 b(plane)g X(distance.)25 585 y(IN)91 b(P\257oat)114 b Fa(backplane)47 Xb Fq(back)12 b(plane)f(distance.)25 635 y(IN)91 b(P\257oat)114 Xb Fa(frontplane)51 b Fq(front)10 b(plane)h(distance.)25 685 Xy(OUT)50 b(Pint)10 b(*)112 b Fa(error)135 b Fq(error)11 b(indicator)n(.)0 X754 y(This)k(function)e(sets)i(the)g(window)f(view)g(mapping)g(values.)27 Xb(The)15 b(camera)i(must)e(be)g(switched)f(OFF)h(for)g(these)g(values)g(to)0 X804 y(be)d(set.)18 b(The)13 b(lar)o(gest)f(square)g(within)f(the)g(window)g X(is)h(de\256ned)g(to)g(be)g(the)g(device)h(coordinates)e(area)i(which)f(the) Vg X(view)g(maps)0 854 y(onto.)i(The)e(error)f(code)h(is)f(a)h(standard)f(PHIGS) Vh X(error)f(code.)p 1260 951 607 2 v 1260 1030 2 80 v 1274 1005 Xa Fb(ptk_setvieworienta)o(ti)o(on3)p 1864 1030 V 1260 1032 X607 2 v 0 1106 a Fq(void)f Fp(ptk_setvieworientation3)g Fq(\()k(Pint)e XFa(windid)p Fq(,)i(Ppoint3)d(*)p Fa(vrp)p Fq(,)j(Ppoint3)d(*)p XFa(vpn)p Fq(,)i(Ppoint3)f(*)p Fa(vup)p Fq(,)523 1156 y(Pint)f(*)p XFa(error)e Fq(\))25 1206 y(IN)91 b(Pint)143 b Fa(windid)49 Xb Fq(window)10 b(identi\256er)n(.)25 1256 y(IN)91 b(Ppoint3)10 Xb(*)49 b Fa(vrp)100 b Fq(view)11 b(reference)i(point.)25 1306 Xy(IN)91 b(Ppoint3)10 b(*)49 b Fa(vpn)92 b Fq(view)11 b(plane)g(normal.)25 X1356 y(IN)91 b(Ppoint3)10 b(*)49 b Fa(vup)92 b Fq(view)11 b(up)g(vector)n(.) X25 1405 y(OUT)50 b(Pint)10 b(*)112 b Fa(error)74 b Fq(error)11 Xb(indicator)n(.)0 1474 y(This)k(function)f(sets)i(the)g(window)e(view)h X(orientation)f(values.)28 b(The)16 b(camera)i(must)d(be)h(switched)f(OFF)h X(for)f(these)h(values)0 1524 y(to)11 b(be)g(set.)16 b(The)c(error)f(code)h X(is)f(a)h(standard)f(PHIGS)g(error)g(code.)p 1370 1621 497 X2 v 1370 1700 2 80 v 1384 1675 a Fb(ptk_setwindowattrs)p 1864 X1700 V 1370 1702 497 2 v 0 1776 a Fq(void)f Fp(ptk_setwindowattrs)h XFq(\()18 b(Pint)e Fa(windid)p Fq(,)j(Pint)d Fa(titlefont)p XFq(,)i(Pint)e Fa(titlecolour)p Fq(,)h(Pint)f Fa(banner-)447 X1826 y(colour)p Fq(,)i(Pint)f Fa(backgdcolou)o(r)p Fq(,)g(Pint)g XFa(edgecolour)p Fq(,)g(Pint)f Fa(frametl-)447 1876 y(colour)p XFq(,)10 b(Pint)g Fa(framebrcolour)e Fq(\))25 1927 y(IN)50 b(Pint)e XFa(windid)167 b Fq(window)10 b(identi\256er)n(.)25 1976 y(IN)50 Xb(Pint)e Fa(titlefont)152 b Fq(title)10 b(string)g(font.)25 X2026 y(IN)50 b(Pint)e Fa(titlecolour)114 b Fq(title)10 b(string)g(colour)g X(index.)25 2076 y(IN)50 b(Pint)e Fa(bannercolou)o(r)59 b Fq(banner)11 Xb(colour)g(index.)25 2126 y(IN)50 b(Pint)e Fa(backgdcolou)o(r)55 Xb Fq(background)10 b(colour)h(index)f(of)h(window)m(.)25 2176 Xy(IN)50 b(Pint)e Fa(edgecolour)90 b Fq(edge)11 b(colour)g(index)g(of)g X(window)m(.)25 2225 y(IN)50 b(Pint)e Fa(frametlcolour)61 b XFq(top-left)9 b(frame)k(colour)d(index.)25 2275 y(IN)50 b(Pint)e XFa(framebrcolour)f Fq(bottom-right)8 b(frame)k(colour)f(index.)0 X2344 y(This)j(function)e(sets)i(the)g(window)f(text)g(font)g(and)h(colour)f X(attribute)f(values.)23 b(Each)15 b(window)e(has)h(a)h(banner)f(region)f X(which)0 2394 y(contains)e(the)g(title)f(string)g(of)h(the)g(window)m(.)k X(The)d(text)e(font)h(value)g(applies)g(to)g(this)f(string.)0 X2956 y(13th)22 b(May)m(,)12 b(1992)626 b(157)828 b(2.01)p eop X%%Page: 158 159 Xbop 0 -137 a Fq(PHIGS)11 b(T)m(oolkit)f(User)i(Manual)1235 Xb(PTK/100)p 1280 -19 587 2 v 1280 60 2 80 v 1294 35 a Fb X(ptk_setwindowposition)p 1864 60 V 1280 62 587 2 v 0 136 a XFq(void)10 b Fp(ptk_setwindowposition)g Fq(\()h(Pint)f Fa(windid)p XFq(,)h(Ppoint)f(*)p Fa(position)f Fq(\))25 225 y(IN)50 b(Pint)122 Xb Fa(windid)70 b Fq(window)10 b(identi\256er)n(.)25 275 y(IN)50 Xb(Ppoint)9 b(*)50 b Fa(position)d Fq(window)10 b(position.)0 X350 y(This)15 b(function)e(sets)i(the)f(position)f(of)h(the)h(centre)g(of)f X(the)h(window)m(.)24 b(The)16 b(position)c(is)j(given)f(in)g(the)g(range)h X(`5B0,)h(1`5D.)25 b(If)14 b(the)0 400 y(position)d(results)i(in)g(part)h(of) Vf X(the)g(window)f(being)h(clipped)g(then)g(the)h(position)d(is)i(adjusted)g(so V) Xh(that)f(the)g(whole)g(window)f(is)0 449 y(visible.)p 1380 X547 487 2 v 1380 626 2 80 v 1394 600 a Fb(ptk_setwindowsize)p X1864 626 V 1380 628 487 2 v 0 702 a Fq(void)e Fp(ptk_setwindowsize)i XFq(\()f(Pint)f Fa(windid)p Fq(,)h(Ppoint)f(*)p Fa(size)g Fq(\))25 X791 y(IN)50 b(Pint)122 b Fa(windid)49 b Fq(window)10 b(identi\256er)n(.)25 X840 y(IN)50 b(Ppoint)9 b(*)50 b Fa(size)86 b Fq(window)10 b(size.)0 X915 y(This)15 b(function)e(sets)i(the)g(size)h(of)e(the)h(window)f(using)g X(the)g(x)h(value)g(as)h(the)e(width)g(and)h(the)g(y)f(value)h(as)h(the)e X(height.)26 b(The)0 965 y(values)11 b(are)h(given)f(in)f(the)h(range)g(`5B0, V)g X(1`5D.)16 b(If)10 b(the)h(size)h(results)f(in)f(part)h(of)f(the)h(window)f X(being)h(clipped)f(then)h(the)g(window)f(size)0 1015 y(is)h(adjusted)g(to)g X(give)f(as)i(lar)o(ge)g(a)g(window)e(as)i(possible.)p 1190 X1112 676 2 v 1190 1191 2 80 v 1204 1166 a Fb(ptk_setwindowtraninputpr)o(i)p X1864 1191 V 1190 1193 676 2 v 0 1267 a Fq(void)e Fp X(ptk_setwindowtraninputpri)h Fq(\()g(Pint)f Fa(windid)p Fq(,)h(Pint)g XFa(refwindid)p Fq(,)f(Pvpri)g Fa(priority)f Fq(\))25 1356 y(IN)50 Xb(Pint)71 b Fa(windid)90 b Fq(window)10 b(identi\256er)n(.)25 X1406 y(IN)50 b(Pint)71 b Fa(refwindid)48 b Fq(reference)13 Xb(window)d(identi\256er)n(.)25 1456 y(IN)50 b(Pvpri)e Fa(priority)83 Xb Fq(relative)11 b(priority)m(.)0 1525 y(This)g(function)e(sets)j(the)f X(transformation)e(input)h(priority)e(of)j(the)g(window')n(s)e(view)i X(representation)f(relative)h(to)f(another)h(win-)0 1575 y(dow)m(.)k(The)d X(relative)f(priority)e(is)i(also)h(set)f(relative)g(to)g(view)g(index)g(0.)p X1370 1672 497 2 v 1370 1751 2 80 v 1384 1725 a Fb(ptk_setwindowtype)p X1864 1751 V 1370 1753 497 2 v 0 1827 a Fq(void)f Fp(ptk_setwindowtype)h XFq(\()h(Pint)e Fa(windid)p Fq(,)h(ptkewindowtype)e Fa(windtype)g XFq(\))25 1916 y(IN)50 b(Pint)258 b Fa(windid)88 b Fq(window)10 Xb(identi\256er)n(.)25 1965 y(IN)50 b(ptkewindowtype)d Fa(windtype)h XFq(window)10 b(type.)0 2041 y(This)j(function)f(sets)i(the)g(type)f(of)g(a)h X(window)f(to)g(one)g(of)g(STRUCT)m(,)i(T)o(OPOLOGY)-5 b(,)14 Xb(CONTENT)h(and)e(TERMINAL.)i(The)0 2090 y(default)c(window)f(type)h(is)g X(STRUCT)m(.)h(All)e(items)i(are)g(unposted)e(from)h(the)g(window)f(before)i X(the)f(type)g(is)g(set.)p 1273 2188 593 2 v 1273 2267 2 80 Xv 1288 2241 a Fb(ptk_stringscanwindows)p 1864 2267 V 1273 2269 X593 2 v 0 2343 a Fq(ptkboolean)f Fp(ptk_stringscanwindows)h XFq(\()g(Pint)f Fa(wsid)p Fq(,)i(Pchar)g(*)p Fa(str)p Fq(,)e(Pint)h(*)p XFa(windowid)f Fq(\))25 2432 y(IN)91 b(Pint)109 b Fa(wsid)123 Xb Fq(workstation)10 b(identi\256er)n(.)25 2481 y(IN)91 b(Pchar)12 Xb(*)50 b Fa(str)154 b Fq(string.)25 2531 y(OUT)50 b(Pint)10 Xb(*)78 b Fa(windowid)48 b Fq(window)11 b(identi\256er)n(.)0 X2600 y(This)g(function)f(compares)i(the)f(character)i(string)d XFi(str)h Fq(with)g(title)e(string)h(of)h(all)g(the)g(windows)f(posted)h(to)g X(workstation)e Fi(wsid)p Fq(.)0 2650 y(The)j(string)e(comparison)h(is)g(case V) +-+-+-+-+-+-+-+- END OF PART 123 +-+-+-+-+-+-+-+-