How-to Topics
The topics in this section provide examples that show how to accomplish a variety of tasks with Direct2D.
In this section
| Topic | Description |
|---|---|
|
Shows how to clip a region with layers. | |
|
Shows how to clip a region with an axis-aligned clip rectangle. | |
|
Shows how to render bitmaps with Direct2D. | |
|
This topic describes how to draw a basic shape. | |
|
Direct2D provides the ID2D1PathGeometry interface for describing complex shapes that can contain curves, arcs, and lines. This topic describes how to define and render a path geometry. | |
|
Shows how to render text with Direct2D. | |
|
How to Ensure That Your Application Displays Properly on High-DPI Displays |
Describes how to create a window the displays properly on high-DPI displays. |
|
Shows how to load a Direct2D bitmap from an image file. | |
|
Shows how to load a Direct2D bitmap stored as an application resource. | |
|
Shows how to clip a region with bitmap masks. |