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 #1218 background imageLoading...
Page #1218 background image
1176
Appendix A: System Routines — Windows
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinLine
Declaration:
void
WinLine
(WINDOW *
w
, const WIN_RECT *
Line
)
Category(ies):
Windows
Description:
Draw a line in a window using a WIN_RECT to define the end-points. The
line is drawn in the current attribute (set with
WinAttr
).
Inputs:
w
WINDOW struct of a previously opened window.
Line
Endpoints of line to draw.
Outputs:
None
Assumptions:
The valid line attributes are: A_NORMAL (set), A_REVERSE (clear),
A_XOR and A_THICK1 (double thick line).
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: WinAttr, WinLineExt
Example:
WIN_RECT wr = {0, 2, 90, 2};
WinAttr( &appW, A_NORMAL ); /* draw a normal line */
WinLine( &appW, &wr );
WinAttr( &appW, A_REVERSE ); /* turn pixels off */
WinLine( &appW, &wr );
WinAttr( &appW, A_XOR ); /* XOR with destination */
WinLine( &appW, &wr );
WinAttr( &appW, A_THICK1 ); /* double thick line */
WinLine( &appW, &wr );
WinAttr( &appW, A_NORMAL ); /* back to normal in case we draw characters */

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