[comp.windows.x] Bitmap programming again

mikeh@fsd.cpsc.ucalgary.ca (Michael Hoffos) (05/09/91)

Thanks to everyone for the responses about my bitmap question.  I should
have made it more clear that I (1) have read the FM (O'Reilly's, volumes
1 and 2), (2) using toolkits and widgets is out of the question as the
program is supposed to display the bitmaps when it is done computing
them, and possibly as it is computing them -- ie. the program has no
need for user interface per se as it simply grinds data and shows the
result.

I still have no idea how to get a bitmap into a window.  I have tried what
was suggested, and use XCopyPlane.  All I get is a white filled window.  My
boss said that displaying the bitmap as the background of a window is out
of the question as when you resize the window you get tiling.  I have also
tried to read the source for 'bitmap': where is the code that displays the
bitmaps?  I cannot find it; I only find code that prints rectangles.

Any pointers are again welcome.  The code must work on both color and
mono monitors, however the bitmap is always guaranteed to be mono (ie. 1
plane).

Mike Hoffos