title: How to measure text extent using DWrite?
body: <p>How can I get the text extent with DirectWrite?<br>
  .Net provides it as part of the <a href="http://msdn.microsoft.com/en-us/library/system.windows.media.formattedtext.extent.aspx" rel="nofollow">FormattedText class</a>, for example.</p>