Codejock Forums Homepage
Forum Home Forum Home > General > Code Snippets > C++ Code Snippets
  New Posts New Posts RSS Feed - Direct2D Render
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Direct2D Render

 Post Reply Post Reply
WaLtI View Drop Down

Joined: 30 March 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaLtI Quote  Post ReplyReply Direct Link To This Post Topic: Direct2D Render
    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);

  CXTPMarkupDirect2DDrawingContext dcMarkup(this, dc);

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.