Top "Gdi" questions

Graphics Device Interface (GDI) is a device-independent, pure software graphics API under the Windows operating system for drawing graphic primitives and text.

Direct2D / GDI+ and slow Windows forms drawing - What can be done?

I'm working a lot with Visual Studio 2008, .NET C# 2.0-3.5 and Windows Forms and I have noticed, like many before …

c# gdi direct2d slimdx devexpress-windows-ui
How to rotate Bitmap in windows GDI?

How would I go about rotating a Bitmap in Windows GDI,C++?

c++ gdi
How can I measure diagonal distance points?

I can compute horizontal and vertical points, but I cant figure out how to compute distance using diagonal points. Can …

c# winforms gdi distance measurement
Hunting down EOutOfResources

Question: Is there an easy way to get a list of types of resources that leak in a running application? …

delphi gdi resource-leak eoutofresources
Draw Slightly Transparent Blue Rectangle in Native Win32 GDI

How do I draw a blue rectangle with a alpha/transparency value of 0.5 (ie, 50% transparency) in Native Win32 C++? Using …

c++ winapi gdi
Get exact window region size - CreateWindow window size isn't correct size of window

I've noticed something very annoying while trying to create a window in C++ and draw Rectangles that the window size …

c++ window gdi createwindow
Enumerating monitors on a computer

I have found 7 different ways to enumerate the monitors attached to the computer. But all solutions give different results (number …

c++ windows gdi dxgi
Getting Bitmap pixel values using the Windows GetDIBits function

I'm trying to get the pixels of a bitmap using the GetDIBits function. As I have not studied the Windows …

winapi bitmap gdi hbitmap getdibits
Is TDirect2DCanvas slow or am I doing something wrong?

While looking for alternatives to replace GDI, I was trying to test Delphi's 2010 TDirect2DCanvas performance in Windows 7. I tested …

delphi delphi-2010 gdi delphi-xe direct2d
Double Buffering? Win32 c++

I am trying to implement double buffering but it doesn't seem to work i.e. the graphic still flickers. The …

c++ gdi win32gui