I have a code where I draw a string to screen. Let’s say I need to draw two words next to each other, each word may have different font. How do I retrive the width of printed text so that I can adjust the axis to start drawing the second word next to first one?
Share
Is this what you are looking for?
http://msdn.microsoft.com/en-us/library/9bt8ty58.aspx