andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 651 forks source link

drawtext: export uiDrawTextLayoutExtents as DrawTextLayout.Extents #341

Open heyitsanthony opened 5 years ago

heyitsanthony commented 5 years ago

I'm using this to translate mouse event coordinates to coordinates in a grid of monospaced characters in an AttributedString.

andlabs commented 5 years ago

Disregard this comment; will respond properly later