I am new to linux and i need port my windows program to linux and need help at the following.
- I need to capture the screen.
- I need to create a window without borders and title which covers the whole screen.
- I need to draw the captures screen on that window.
- I need to alpha blend a black picture over the window at XX% opacity.
All this was done easily with GetDC(NULL), BitBlt() and AlphaBlend() on windows.
Linux looks very hard when coming to such simple programs to do.
For Linux; you can always look at the source for scrot -- a small and simple screenshot program.