GDI+
Doing the FolderSizes graphing in GDI+ has been a very interesting experience.
GDI+ essentially provides an object-oriented framework for the old Windows graphics device interface, which was accesses primarily by straight Win32 API calls. I find the new model much more usable over all; it simply now feels like a real C++ interface.
The graphing within FolderSizes has become quite refined at this point; I create an off-screen bitmap object into which I draw directly, and then dump it to the screen all at once. This "double-buffering" method creates a very quick-drawing effect, with no flicker when the window is resized or redrawn. This also allows me to easily draw into a bitmap image context which can then be saved to disk, or copied to the Windows clipboard. I've already got support for .jpg, .bmp, and .png (skipping .gif support due to licensing restrictions).
This thing is now in fairly usable form. Email me if you'd like to take a peek at it. I don't have an installer developed yet, but you just need to unzip some files into a folder and run an EXE.
GDI+ essentially provides an object-oriented framework for the old Windows graphics device interface, which was accesses primarily by straight Win32 API calls. I find the new model much more usable over all; it simply now feels like a real C++ interface.
The graphing within FolderSizes has become quite refined at this point; I create an off-screen bitmap object into which I draw directly, and then dump it to the screen all at once. This "double-buffering" method creates a very quick-drawing effect, with no flicker when the window is resized or redrawn. This also allows me to easily draw into a bitmap image context which can then be saved to disk, or copied to the Windows clipboard. I've already got support for .jpg, .bmp, and .png (skipping .gif support due to licensing restrictions).
This thing is now in fairly usable form. Email me if you'd like to take a peek at it. I don't have an installer developed yet, but you just need to unzip some files into a folder and run an EXE.