Pixel control and display

Faustin Ngokse eedfang@REDACTED
Wed Feb 12 17:46:52 CET 2003


Hi Erlang-friends,

Can please anybody tell me if the Erlang GS provides functions to 
control the display of single pixels?
I would like to achieve the following:

- Create a window
- Draw a 4 pixels vertical line using the following data:
   [startX, startY, Pix1, Pix2, Pix3, Pix4] where
      startX and startY are the starting coordinates
      Pix1 is a black pixel
      Pix2 is a dark gray pixel
      Pix1 is a light gray pixel
      Pix1 is a white pixel

I will appreciate your help.

Thanks

/// Faustin



More information about the erlang-questions mailing list