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 |
I'm writing an application where I need to be able to do two things: 1) Give an x,y location and a color (maybe a 3-tuple), and set the pixel at that x,y to the specified color 2) Give an x,y location and get back the color of the pixel at that location. Does anyone know of an easy way of doing this? (Please send me mail if you can, PIPA::DDWORKIN or SPI0::DWORKIN) thanks, david dworkin
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1665.1 | RTFM | MELTIN::dick | Gvriel::Schoeller | Fri Nov 03 1989 11:35 | 5 |
Look in chapter 10 in Scheiffler, Gettys and Newman, _X_Window_System_ there you will find information on XCreateImage, XGetPixel, XPutPixel. You should also look in 6.7 for discussion of XGetImage and XPutImage. Dick |