Winlineto - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

1180

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.
w
Inputs:
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 );
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Windows
— WINDOW struct of a previously opened window.
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents