home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21525 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  754 b 

  1. Path: sparky!uunet!mcsun!julienas!ensta!beck
  2. From: beck@ensta.ensta.fr (Fabrice Beck)
  3. Newsgroups: comp.windows.x
  4. Subject: How to get the color of a pixel ?
  5. Date: 25 Jan 1993 07:31:44 GMT
  6. Organization: ENSTA, Ecole Nationale Superieure des Techniques Avancees, Paris, France
  7. Lines: 10
  8. Distribution: world
  9. Message-ID: <1k0511INNeg0@ensta.ensta.fr>
  10. NNTP-Posting-Host: cedre6.ensta.fr
  11.  
  12. I'm using Xlib to make a programm with graphics, but I don't know how I could
  13. get ( simply if possible ) the color of a pixel of which I give the coordinates
  14. in a window . So I'm looking for the equivalent of the function TEST(x,y) in 
  15. BASIC . Can anyone help me ? 
  16.                              Thanks.
  17. -------------
  18. Fabrice BECK
  19. ENSTA (Paris)
  20. beck@ensta.fr
  21. -------------
  22.