EasyManua.ls Logo

Texas Instruments TI-89 - Drawstrwidthp

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
438
Appendix A: System Routines — Display
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
DrawStrWidthP
Declaration:
WORD
DrawStrWidthP
(const char *
Str
, short
strLen
, BYTE
FontType
)
Category(ies):
Display
Description:
Return the length of the given string in pixels. For the 8x10 and 6x8 fonts
this is just 8/6 times the length of the string; but the 4x6 font is proportional.
This is the same as
DrawStrWidth
only the caller passes the length of the
string versus passing a zero-byte terminated string.
Inputs:
Str
Pointer to string to return the length of (not required to be
zero-byte terminated).
strLen
Length of string.
FontType
F_4x6, F_6x8, F_8x10
Outputs:
Length of string in pixels for the given font.
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: DrawStrWidth
Example:
WORD sLen;
sLen = DrawStrWidthP("Test string", 11, F_4x6 ); /* sLen = 36 */

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals