[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

2273.0. "Customer Programming Questions" by DLOACT::MALONEY (it's all O's and 1's...) Wed Feb 14 1990 14:07

    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.RTitleUserPersonal
Name
DateLines
2273.1doesn't sound like he's actually READ any of the documentation.....PSW::WINALSKICareful with that VAX, EugeneWed Feb 14 1990 14:4118
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