i have the following code: var request = (HttpWebRequest)HttpWebRequest.Create(url); var response = request.GetResponse();
I\'ve been learning how to use GDI but am having difficulty understanding how Invalidate() and overriding the onPaint event work and seem to be going round in circles.
i have a code like this: private void Load_Button_Click(object sender, EventArgs e) { OpenFileDialog dialog = new OpenFileDialog();
I\'m trying to make Cairo work in a Win32 window. The idea is just to make it render flicker-free. If I create a Cairo surface directly with the window\'s HDC, then the window will flicker on resizin
I\'m trying to create a shadow to a rectangle drawn dynamically on a bitmap. The problem is the shadow gets darker each time I draw a new rectangle (please see screenshot). I suspect that the same bit
How much memory should be allocated for the DIB data received from HBITMAP using GetDIBits function? The GetDIBits function is described in MSDN as follow:
How to use GDI functions to dr开发者_JS百科aw on a device context (DC) which is being used by OpenGL?
Is there a way to set the render target to a GDI bitmap in SlimDX so that as soon as the scene is rendered I can immediately BitBlt the render out of there for processing in another thread and continu
I am using WPF to display the image in the clipboard. This works fine when going to Paint and copying something there, but when I hit \"Print screen\" to take a screenshot, the output there is just a
I\'m writing something to create small bitmap previews from a vector format file. From the file I have a (large) list of line coordinates. What I want to do is scale it to make it fit in a fixed-width