Search found 2 matches
- Mon Aug 03, 2015 6:19 pm
- Forum: Support and Development
- Topic: retrieving a word-wrapped string
- Replies: 2
- Views: 694
Re: retrieving a word-wrapped string
thanks for the reply. so this functionality is planned for 0.10? that's good to know... i haven't used luajit's FFI library before, but doesn't it only work with c? if i have to declare every type and function that i use, then i can't work with Fonts, because Font is a c++ class and i can't declare ...
- Mon Aug 03, 2015 5:05 am
- Forum: Support and Development
- Topic: retrieving a word-wrapped string
- Replies: 2
- Views: 694
retrieving a word-wrapped string
hello, i desire a function that, given a string, a width constraint, and a Font, returns a copy of the string with word wrapping applied. although Font:getWrap helpfully returns the number of lines that the text was wrapped to, it does not return the wrapped text itself. do you have a solution? i ha...