EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1227 background imageLoading...
Page #1227 background image
Appendix A: System Routines — Windows
1185
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinPixGet
Declaration:
WORD
WinPixGet
(WINDOW *
w
, WIN_COORDS
x0
, WIN_COORDS
y0
)
Category(ies):
Windows
Description:
Return the status of a pixel in a window: 0 or 1.
Inputs:
w
WINDOW struct of a previously opened window.
x0, y0
WINDOW coordinates of pixel to test.
Outputs:
1 if the selected pixel is on or 0 if it is off (or outside the window).
Assumptions:
Returns 0 if the given coordinates are outside the window.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: WinAttr, WinPixSet
Example:
/* The ptTest and pxlTest functions use WinPixGet to determine if a particular pixel
is turned on in the graph screen as shown in the following piece of code. */
if (WinPixGet(gr_active->grwinp, ix, iy))
Val = TRUE_TAG;
else
Val = FALSE_TAG;

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals