Direct2D Clock Sample

This sample application shows how to use transforms in Direct2D to draw the hands of a clock.

Description

The Direct2D Clock sample application draws an analog clock, as shown in the screen shot that follows. This sample is discussed in Applying Transforms in Direct2D.

a screen shot of the clock program.

Downloading the Sample

This sample is available here.

Learn to Program for Windows: Sample Code

Applying Transforms in Direct2D

Module 3: Windows Graphics