Direct2D Samples

Explore the power of hardware-accelerated 2D graphics on Windows.

Simple Shapes Sample

Simple Shapes

Demonstrates basic drawing operations like lines, rectangles, ellipses, and polygons using Direct2D.

Text Rendering Sample

Text Rendering

Shows how to render text with various styles, including formatting, effects, and layout options.

Bitmap Manipulation Sample

Bitmap Manipulation

Illustrates how to load, display, transform, and apply effects to bitmap images.

Transformations Sample

Transformations

Explore 2D transformations like translation, rotation, scaling, and skewing.

Effects and Filters Sample

Effects & Filters

Apply various visual effects and filters, such as blur, shadow, and color manipulation.

Animation & Interactivity Sample

Animation & Interactivity

Implement dynamic graphics and respond to user input with animated elements.