VectorParagraphWidth

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Seymour Clufley
Addict
Addict
Posts: 1267
Joined: Wed Feb 28, 2007 9:13 am
Location: London

VectorParagraphWidth

Post by Seymour Clufley »

This would be a very useful function. It would return the width of the widest line after the given text has been wrapped to the given width. Obviously, the flags from VectorTextWidth() should be supported.
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."