EasyManua.ls Logo

Texas Instruments TI-89 - Winlineto

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...
1180
Appendix A: System Routines — Windows
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinLineTo
Declaration:
void
WinLineTo
(WINDOW *
w
, WIN_COORDS
x0
, WIN_COORDS
y0
)
Category(ies):
Windows
Description:
Draw a line from the current pen position using absolute window
coordinates, then update the pen position to those coordinates. The current
pen position can be initialized with
WinMoveTo
.
Inputs:
w
WINDOW struct of a previously opened window.
x0, y0
End-point 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, WinLine, WinLineRel, WinMoveTo
Example:
/* Draw a rectangle (could use WinRect to do the same thing) */
WinMoveTo( &appW, 10, 10 );
WinLineTo( &appW, 100, 10 );
WinLineTo( &appW, 100, 60 );
WinLineTo( &appW, 10, 60 );
WinLineTo( &appW, 10, 10 );

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals