EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #479 background imageLoading...
Page #479 background image
Appendix A: System Routines — Display
437
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
DrawStrWidth
Declaration:
WORD
DrawStrWidth
(const char *
Str
, 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.
Inputs:
Str
Pointer to string to return the length of.
FontType
F_4x6, F_6x8, F_8x10
Outputs:
Length of string in pixels for the given font.
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: DrawStrWidthP
Example:
WORD sLen;
sLen = DrawStrWidth("Test string", F_8x10 ); /* sLen = 88 */
sLen = DrawStrWidth("Test string", F_6x8 ); /* sLen = 66 */
sLen = DrawStrWidth("Test string", F_4x6 ); /* sLen = 36 */

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals