revery-ui / revery

:zap: Native, high-performance, cross-platform desktop apps - built with Reason!
https://www.outrunlabs.com/revery/
MIT License
8.07k stars 196 forks source link

feat(api): Add 'measureText' API #1084

Closed bryphe closed 3 years ago

bryphe commented 3 years ago

Add an API to measure the height of text, given a width + style options