PadWrite Layout Sample
PadWrite Layout Sample

Demonstrates DirectWrite layout API, ranged text formatting, text metrics, hit testing, inline images, drawing effects and more, with a sample text editor. The following screen shot shows some of the formatting options available with DirectWrite.

 

Screen shot illustrating the DirectWrite text layout API.

 

The PadWrite Layout Sample consists of the following files.

File
PadWrite.h
Common.h
DrawingEffect.h
EditableLayout.h
InlineImage.h
RenderTarget.h
TextEditor.h
resource.h
PadWrite.cpp
EditableLayout.cpp
InlineImage.cpp
RenderTarget.cpp
TextEditor.cpp
Application.rc
PadWrite.sln
PadWrite.vcproj
Application.manifest

 

Send comments about this topic to Microsoft

Build date: 11/9/2009

© 2010 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View