EasyManua.ls Logo

Texas Instruments TI-89 - Winpixset

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1186
Appendix A: System Routines — Windows
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinPixSet
Declaration:
void
WinPixSet
(WINDOW *
w
, WIN_COORDS
x0
, WIN_COORDS
y0
)
Category(ies):
Windows
Description:
Set a pixel value depending on the current window attribute.
Inputs:
w
WINDOW struct of a previously opened window.
x0, y0
WINDOW coordinates of pixel to set.
Outputs:
None
Assumptions:
Current attribute (set by
WinAttr
) is A_NORMAL (set), A_REVERSE
(clear), or A_XOR.
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: WinAttr, WinPixGet
Example:
/* Given a pointer to a WIN_RECT (wRect) this piece of code will draw a rectangle
with the corners turned off. */
WinRect( &appW, wRect, B_NORMAL | A_NORMAL ); /* draw rectangle */
WinAttr( &appW, A_REVERSE ); /* so pixels cleared */
WinPixSet( &appW, wRect->x0, wRect->y0 ); /* turn off corner pixels */
WinPixSet( &appW, wRect->x1, wRect->y0 );
WinPixSet( &appW, wRect->x1, wRect->y1 );
WinPixSet( &appW, wRect->x0, wRect->y1 );

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals