<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>restoredc &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/restoredc/</link>
	<description>Feed of posts on WordPress.com tagged "restoredc"</description>
	<pubDate>Thu, 23 May 2013 14:52:36 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[How to rotate text using WinAPI?]]></title>
<link>http://ntcoder.com/bab/2008/02/14/how-to-rotate-text-using-winapi/</link>
<pubDate>Thu, 14 Feb 2008 11:57:41 +0000</pubDate>
<dc:creator>Nibu</dc:creator>
<guid>http://ntcoder.com/bab/2008/02/14/how-to-rotate-text-using-winapi/</guid>
<description><![CDATA[Simple way to rotate a piece of text is to use a font object&#8230; Here is a sample which does this]]></description>
<content:encoded><![CDATA[<p>Simple way to rotate a piece of text is to use a font object&#8230; Here is a sample which does this&#8230;</p>
<pre class="brush: cpp; title: ; notranslate" title="">void CSomeDlg::OnPaint()
{    
  CPaintDC dc(this);   

  // Get existing dlg font    
  CFont NewFont;     
  LOGFONT lgFnt = { 0 };     
  GetFont()-&gt;GetLogFont(&amp;lgFnt);   

  // Modify this existing font // 

  // Face name is important, some font's like MS Sans Serif doesn't work
  strcpy( lgFnt.lfFaceName, &quot;Arial&quot; ); 

  // Give rotation as multiples of 10, so rotation will be 90 degrees
  lgFnt.lfOrientation = 900;
  lgFnt.lfEscapement =  900;  

  // Create a font from this log font     
  VERIFY( NewFont.CreateFontIndirect( &amp;lgFnt ));  

  // Save this DC    
  const int DcRestorePoint = dc.SaveDC();      
  dc.SetBkMode( TRANSPARENT );   

  // Set this font to DC     
  dc.SelectObject( &amp;NewFont );     
  dc.TextOut( 100,100, _T( &quot;Nibu babu thomas loves Jesus Christ&quot; ));   

  // Restore dc to previous state    
  dc.RestoreDC( DcRestorePoint );
}// End OnPaint</pre>
<p>Not much of work ! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
</item>

</channel>
</rss>
