EasyManua.ls Logo

Texas Instruments TI-89 - Winline

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...
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

Related product manuals