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

WinFillTriangle

Declaration:
void WinFillTriangle (WINDOW * w , WIN_COORDS ax ,
WIN_COORDS ay , WIN_COORDS bx , WIN_COORDS by ,
WIN_COORDS cx , WIN_COORDS cy , BYTE Attr )
Category(ies):
Windows
Description:
Draw a filled triangle in a window. The fill includes the borders of the
triangle.
Inputs:
w
ax, ay, bx,
by, cx, cy
Attr
Outputs:
None
Assumptions:
A_XOR is not supported.
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
WinFill
Example:
The 3D grapher in HIDDEN SURFACE mode uses this routine to shade the
graph using A_REVERSE if the surface is visible and A_NORMAL if it is
hidden (by splitting the graph into 6-sided polygons and splitting those into
triangles).
TI-89 / TI-92 Plus Developer Guide
— WINDOW struct of a previously opened window.
— Coordinates of triangle.
— A_NORMAL (set) or A_REVERSE (cleared).
Not for Distribution
1171
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