The Wayback Machine - https://web.archive.org/web/20110921230644/http://www.codeguru.com:80/cpp/misc/misc/graphics/

    Graphics

    [Updated] Rubix Cube (not yet reviewed)

    This program presents an original way of the famous Rubik's Cube by an assembly of 27 multi-colored cubies isolated in the space. Even during its deformations, it allows a 3D vision of the cube thanks to the basic MFC graphic functions. This simulation can also rapidly calculate a solution to reordering the Cube.

    Introduction to DirectWrite

    DirectWrite is a new API to render text on Windows 7 / Vista. It makes it easy to render paragraphs of text that can contain different formatting, coloring, fonts etc. It supports horizontal and vertical alignments, even vertical centering of a paragraph with multiple lines which was not possible with the old text API, etc. This article will give an introduction to the new DirectWrite API.

    Using the Windows Vista/Windows 7 Built-In Buffered Animation API

    The Buffered Animation API makes it easy to make animations without flickering. Learn how to use this Buffered Animation API.

    Graphics Class Design : Shape

    Class Shape can provide you with the ability to represent things appearing in a Window. Learn about this class from an industry legend.

    Using Windows Vista Built-In Double Buffering

    Learn how to fixing flickering issues when drawing graphics by using double buffering.

    Working with Device Contexts in MFC

    Acquire the core information that will allow you to do (at least) simple painting operations in MFC.

    [Updated] Deriving Projection Matrices

    Walk through the mathematical derivation of orthographic and perspective projection matrices used in 3D graphics.

    EAN13 Barcode Class

    Learn about a lightweight class that prints EAN13 barcodes and displays captions.

    Mould Text in Any Shape

    Sometimes, putting text in a rectangular block may just be a little too straight. With the C++ class QEnvelopeText, you can mould a piece of body type in any shape.

    [Updated] Polygon Clipping

    It's one of those humble tasks computers have done for ages, but the hunt for the perfect clipping algorithm is still open.

    [Updated] The Mists of Avalon

    Learn about "Avalon," the exciting new presentation subsystem of the upcoming Windows platforms. After an introduction to declarative drawing and XAML, you'll use XAMLPad to get a first taste of Avalon programming.

    An MFC OpenGL Polygon Tessellation Demo

    Discover a MSVC++ V6 MFC SDI project that demonstrates how to access the OpenGL polygon tesselation functions in an MFC C++ application.

    Managed C++: Rubber-Banding and Cropping Images

    Learn how .NET enables you to easily allow your users to create a cropping area of an image with the mouse and then create a new image consisting of only that cropped area.

    2D '& 3D Surface Contour Map

    Making a plain 2D contour map. (The article and demo project were updated.)

    IconsST v1.2 - A collection of useful icons contained into a DLL

    IconsST is a resource-only DLL containing a number of useful, ready-to-use icons of various sizes and colors. This DLL can be loaded and accessed using the commong Win32 API functions or via the CResourceServerST class.

    Multiple CRectTracker Class

    Multiple CRectTracker Class

    Graph Marker with Hit-Testing

    Graph Marker with Hit-Testing

    Transparent Window

    Transparent Window

    Line tracker class similar to CRectTracker

    Line tracker class similar to CRectTracker