This sample demonstrates the end-to-end implementation of a simple Windows Store app using DirectX with C++ for postcard creation using DirectX and XAML interop.
Specifically, this app supports the following scenarios:
- Loading and rendering images using the File Picker and WIC.
- Applying a saturation effect to the loaded image using Direct2D effects.
- Adding and manipulating textured "construction paper" to the postcard using Direct2D.
- Adding 3-D rendered text to the postcard using Direct3D 11.1 and DirectWrite.
- Adding a signature using the Windows inking APIs and Direct2D.
- Sharing the user's creation using the Share charm.
This sample is written in C++ and requires some experience with graphics programming.
To obtain an evaluation copy of Windows 8.1, go to Windows 8.1.
To obtain an evaluation copy of Microsoft Visual Studio 2013, go to Visual Studio 2013.
Note For Windows 8 app samples, download the Windows 8 app samples pack. The samples in the Windows 8 app samples pack will build and run only on Microsoft Visual Studio 2012.
Related topics
Operating system requirements
| Client | |
|---|---|
| Server |
Build the sample
To build this sample, open the solution (.sln) file from Visual Studio 2013 for Windows 8.1 (any SKU). Press F7 or go to Build->Build Solution from the top menu after the sample has loaded.
Run the sample
To run this sample after building it, press F5 (run with debugging enabled) or Ctrl+F5 (run without debugging enabled) from Visual Studio 2013 for Windows 8.1 (any SKU). (Or select the corresponding options from the Debug menu.)