drjaydenm / SharpText

A GPU accelerated text renderer implemented in C#
MIT License
60 stars 5 forks source link

Expose method for measuring a string in ITextRenderer #2

Open drjaydenm opened 4 years ago

drjaydenm commented 4 years ago

It would be nice to be able to see how many pixels in X and Y axis a given piece of text would take up. This would then mean you could split text dynamically across lines if desired.