[Contents] [index] [Help] [Retrace] [browse <] [Browse >]

To determine the pixel length of a given intuitext string, call the
intuitextlength() function.

    LONG IntuiTextLength( struct IntuiText *iText );

Set the iText argument to point to the intuitext structure whose length is
to be found.  This function will return the length of the iText text
string in pixels.  Note that if the itextfont field of the given intuitext
is set to NULL, or Intuition cannot access the specified font, then
gfxbase->defaultfont will be used in determining the length of the text.
This may not be the same as the rastport font with which the text would be
printed.