grossman@bbn.com (Martin Grossman) (02/03/90)
Could anyone send me a small segment of code that I could interface with. 0) background.....Sun 3/50 (diskless) standard mono display running OS 3.5 should be able to run within a window. 1) I need a subroutine that returns x,y (pixel offset) of upper left of the window and w,h (size in pixels) of the window (within the frame buffer). 2) I need a subroutine to get control, whenever the window moves or changes size (possibly a signal or event routine). 3) I need a simple way of clearing a region within the window xxxxx(xmin,ymin,xmax,ymax) 4) I need a simple way of setting individual pixels in the window xxxxx(x,y, 0 | 1) 5) I need a simple way of drawing vectors (simple lines) in the window xxxxx(xmin,ymin,xmax,ymax) PS I can do #3,#4,and #5 above if I use the routines in the pixrect library BUT they all operate on the whole screen (probably could use these if I had a way of doing #1, and #2 above) grossman@bbn.com