Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
A customer wants to build his own GKS/PHIGS-like product. He explained to me that all he needs to know is how to do the following under DECWINDOWS: 1) Clear screen 2) Draw line 3) Fill Polygon 4) Define Colors 5) Write/read pixel/raster info I would expect that this kind of info is in the documentation (which he has) but he hasn't found what he is looking for. Can someone point me in the right direction. Thanks Shawn Maloney
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2273.1 | doesn't sound like he's actually READ any of the documentation..... | PSW::WINALSKI | Careful with that VAX, Eugene | Wed Feb 14 1990 14:41 | 18 |
For VMS, it's in the Xlib Routines Reference Manual, volume 2A of the DECwindows Programming documentation set. Other sources of this information are the Guides to Xlib Programming for MIT C bindings and VAX bindings. See also books on Xlib programming such as Scheifler, Gettys, and Neumann. Places to start looking: clear screen: XClearWindow draw line: XDrawLine, XDrawLines fill polygon: XFillPolygon define colors: XAllocClor, etc., and the graphics context routines write/read pixel/raster info: XGetPixel, XPutPixel, XGetImage, XPutImage I found the above info in a table at the front of chapter 6 of the Xlib Routines Reference Manual. The chapter is titled "Graphics Routines." --PSW |