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.

C# Drawing on Panels

I'm drawing up a day schedule and representing timeslots with panels, and appointments are yet more panels on top. The …

c# winforms gdi system.drawing
How would I load a PNG image using Win32/GDI (no GDI+ if possible)?

Is it possible to load a PNG from a file into an HBITMAP using Win32 GDI functions? If not, what …

c++ image winapi png gdi
Rotate a point around another point

I have a task to draw a specific graphic. As part of this task I need to rotate some dot's …

c# rotation gdi trigonometry
Problem reading JPEG Metadata (Orientation)

I've got a JPEG image which was taken on an iphone. On my desktop PC (Windows Photo Viewer, Google Chrome, …

c# image-processing metadata jpeg gdi
What is the difference between GetClientRect and GetWindowRect in WinApi?

What of these should I use in InvalidateRect to refresh my window? And why?

c++ windows winapi gdi
How to effectively draw on desktop in C#?

I want to draw directly on the desktop in C#. From searching a bit, I ended up using a Graphics …

c# drawing gdi buffer onpaint
How to record a specific window using ffmpeg?

I use ffmpeg to record a window using this code: ffmpeg.exe -f dshow -y -i video="screen-capture-recorder":audio="virtual-audio-capturer":…

ffmpeg window record gdi screen-capture
What's the upper limit on GDI objects for one process in Windows 7?

Have an application with a GDI leak that will eventually hit 10,000 allocated GDI objects and crash. I tried increasing the …

windows-7 gdi resource-leak
Creating HBITMAP from memory buffer

I have an application which loads some blob data out of a database which can represent png formatted or raw …

c++ mfc bitmap gdi hbitmap
JPEG 2000 support in C#.NET

It seems that .NET can't open JP2 (Jpeg 2000) files using the GDI library. I've searched on google but can't find …

c# .net gdi jpeg2000