Export (0) Print
Expand All

Color Drawing Effect Example

Demonstrates client drawing effects with a text layout object and a custom text renderer. The following screen shot shows an example of a client drawing effect. For more information see How to Add Client Drawing Effects to a Text Layout topic.

This topic has the following parts:

Screen shot of "Client Drawing Effect Example!" text in multiple colors

Requirements

Minimum supported clientWindows 7 or Windows Vista with Service Pack 2 (SP2) and Platform Update for Windows Vista
Minimum supported serverWindows Server 2008 R2 or Windows Server 2008 with Service Pack 2 (SP2) and Platform Update for Windows Server 2008
Windows SDKWindows Software Development Kit (SDK) for Windows 7

 

Downloading the Sample

This sample is available in the following location.

LocationPath/URL
Code GalleryDownload from MSDN Code Gallery

 

View the Sample Files

File
ColorDrawingEffect.h
ColorDrawingEffect.cpp
CustomTextRenderer.h
CustomTextRenderer.cpp
DemoApp.h
DemoApp.cpp
DrawingEffect.h
winmain.cpp

 

 

 

Community Additions

ADD
Show:
© 2015 Microsoft