<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Direct2D Render</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : C++ Code Snippets : Direct2D Render]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 20:40:30 +0000</pubDate>
  <lastBuildDate>Sun, 27 Dec 2009 09:27:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=15926</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Direct2D Render : Here is my first version of t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15926&amp;PID=55854&amp;title=direct2d-render#55854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3909">WaLtI</a><br /><strong>Subject:</strong> 15926<br /><strong>Posted:</strong> 27 December 2009 at 9:27am<br /><br />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+<DIV>render but i think it is possible to get it faster.</DIV><DIV>&nbsp;</DIV><DIV>How to use:</DIV><DIV>&nbsp; Replace the current base class <FONT color=#010001 size=2><FONT color=#010001 size=2>CXTPMarkupContext with <FONT color=#010001 size=2><FONT color=#010001 size=2>CXTPMarkupDirect2DContext.</FONT></FONT></FONT></FONT></DIV><DIV><FONT color=#010001 size=2>&nbsp; On your OnPaint handler replace</FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>&nbsp; C</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2><FONT color=#010001 size=2>XTPMarkupDrawingContext</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dcMarkup</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>);</FONT></FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>&nbsp; with</FONT></DIV><DIV><FONT color=#010001 size=2><FONT size=2><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp; CXTPMarkupDirect2DDrawingContext</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dcMarkup</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>);</P><DIV><a href="http://forum.codejock.com/uploads/20091227_092602_XTPMarkupDirect.rar" target="_blank">uploads/20091227_092602_XTPMarkupDirect.rar</A></DIV></FONT></DIV></FONT>]]>
   </description>
   <pubDate>Sun, 27 Dec 2009 09:27:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15926&amp;PID=55854&amp;title=direct2d-render#55854</guid>
  </item> 
 </channel>
</rss>