Winlinerel - Texas Instruments TI-89 Developer's Manual

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

Advertisement

Appendix A: System Routines — Windows

WinLineRel

Declaration:
void WinLineRel (WINDOW * w , WIN_COORDS x0 , WIN_COORDS y0 )
Category(ies):
Windows
Description:
Draw a line from the current pen position using relative coordinates, then
update the pen position to those coordinates. The current pen position can
be initialized with WinMoveTo.
Inputs:
w
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, WinLineTo, WinMoveTo
Example:
/* Draw a rectangle (could use WinRect to do the same thing) */
WinMoveTo( &appW, 10, 10 );
WinLineRel( &appW, 90, 0 );
WinLineRel( &appW, 0, 50 );
WinLineRel( &appW, -90,0 );
WinLineRel( &appW, 0, -50 );
TI-89 / TI-92 Plus Developer Guide
— WINDOW struct of a previously opened window.
Not for Distribution
1179
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