28 lines
988 B
Plaintext
28 lines
988 B
Plaintext
GdiInterop Sample
|
|
|
|
Demonstrates
|
|
===============================
|
|
Shows how use the DirectWrite layout and rendering APIs via GDI interoperability.
|
|
|
|
|
|
Sample Language Implementations
|
|
===============================
|
|
This sample is available in the following language implementations:
|
|
C++
|
|
|
|
Files
|
|
===============================
|
|
* GdiInterop.h: Contains declarations and includes.
|
|
* GdiInterop.rc: Resource file.
|
|
* GdiInterop.cpp: Application entry point, message loop and functions for rendering text by using DirectWrite and GDI.
|
|
* GdiTextRenderer.h: Header file for the GdiTextRenderer class.
|
|
* GdiTextRenderer.cpp: Implementation file for the GdiTextRenderer class.
|
|
* Resource.h: Header file for resources.
|
|
* DeclareDPIAware.manifest: Declares that the application will work on high DPI display modes.
|
|
|
|
|
|
Prerequisites
|
|
===============================
|
|
Microsoft Windows® 7
|
|
Windows® Software Development Kit (SDK) for Windows 7 and .NET Framework 3.5 Service Pack 1: Beta release
|