MeasureJust
MeasureJust Measure a text string
#include <Script.h> Script Manager
void MeasureJust(textPtr, textLength, slop, charLocs );
Ptr textPtr ; address of a text string
short textLength ; value for text length
short slop ; value indicating extra pixels
Ptr charLocs ; address of an array of textLength + 1
MeasureJust fills an array with the widths of the characters in a string.
textPtr is a text string indicated by a pointer.
textLength is the length of the specified string.
slop is the number of pixels to add to a string's width when it was drawn
(to help justify the text).
charLocs is the array containing the widths of all characters in the text
string, including any addition width added for justification, plus one.
The first entry in the array will return the width of zero characters,
the second the width of the first character, the third the width of the
first and second characters, etc.
Returns: none