Appendix A: System Routines — Windows
1177
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinLineExt
Declaration:
void
WinLineExt
(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
). This routine is
similar to
WinLine
except that it is more accurate in terms of clipping and
the exact pixels drawn, at the expense of being much slower. Use it when
precise pixel placement is needed especially when clipping is involved (see
example).
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), and
A_XOR.
Side Effects:
Slower than
WinLine
, but more precise.
Availability:
On AMS 2.00 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: WinAttr, WinLine, WinLineRel, WinLineTo
(continued)