background drawing


How can I write a program that creates a windows, draws some objects, and capture the window without showing the window to the user. It works fine with the window displayed but it does not work without the window displayed. I don’t want to show the window to the user.

Take a look at pbuffers: