Direct2D Render |
Post Reply |
Author | |
WaLtI
Groupie Joined: 30 March 2008 Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 27 December 2009 at 9:27am |
Here is my first version of t he Markup renderer who uses Direct2D and DirectWrite apis to render the Markup, currently it is slower than the GDI/GDI+
render but i think it is possible to get it faster.
How to use:
Replace the current base class CXTPMarkupContext with CXTPMarkupDirect2DContext.
On your OnPaint handler replace
CXTPMarkupDrawingContext dcMarkup(dc);
with
CXTPMarkupDirect2DDrawingContext dcMarkup(this, dc);
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |