27 lines
952 B
Plaintext
27 lines
952 B
Plaintext
Text Dialog Sample
|
|
|
|
Demonstrates
|
|
===============================
|
|
Shows font enumeration, changing of font family, size, weight, slope, and the displayed string of DirectWrite text with changes rendered in real time.
|
|
|
|
Sample Language Implementations
|
|
===============================
|
|
This sample is available in the following language implementations:
|
|
C++
|
|
|
|
Files
|
|
===============================
|
|
* TextDiaogSample.h: Contains declarations and includes.
|
|
* TextDialogSample.rc: Resource file.
|
|
* Winmain.cpp: Application entry point and message loop.
|
|
* TextDialog.cpp: Defines the TextDialog that handles the text and exposed methods for changing the properties of the text.
|
|
* TextDialog.h: Header file for the TextDialog class.
|
|
* Resource.h: Header file for resources.
|
|
|
|
|
|
Prerequisites
|
|
===============================
|
|
Microsoft Windows® 7
|
|
Windows® Software Development Kit (SDK) for Windows 7 and .NET Framework 3.5 Service Pack 1: Beta release
|
|
|