Texas Instruments TI89 Developer Guide - Page 1229
WinRect, Declaration, Categoryies, Description, Inputs, Outputs, Assumptions, Side Effects
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 1229 highlights
Appendix A: System Routines - Windows 1187 WinRect Declaration: void WinRect (WINDOW * w, const WIN_RECT * wRect, BYTE BoxAttr) Category(ies): Windows Description: Draw a rectangle in a window. The values for BoxAttr are the same values for drawing a line in a window (A_NORMAL, A_REVERSE, or A_XOR) OR'd with one of the following values. B_NORMAL - Draw a normal rectangle. B_DOUBLE - Draw a double thick rectangle. B_ROUNDED - Draw a rectangle with rounded corners. (Dialog boxes are drawn this way.) B_CUT - Draw a rectangle with the upper corners "cut". (Toolbars are drawn this way.) Inputs: w - WINDOW struct of a previously opened window. wRect - WIN_RECT defining upper left (x0, y0) and lower right (x1, y1) corners of rectangle. BoxAttr - A_NORMAL, A_REVERSE, A_XOR OR'd with B_NORMAL, B_DOUBLE, B_ROUNDED, or B_CUT. Outputs: None Assumptions: None Side Effects: None Availability: All versions of the TI-89 / TI-92 Plus. TI-89 / TI-92 Plus Differences: None See Also: None Example: /* Draw 4 rectangles each using one of the 4 different box attributes. */ WinRect( &appW, MakeWinRect(5,5,90,50), A_NORMAL | B_NORMAL ); WinRect( &appW, MakeWinRect(10,10,85,45), A_NORMAL | B_DOUBLE ); WinRect( &appW, MakeWinRect(15,15,80,40), A_NORMAL | B_ROUNDED ); WinRect( &appW, MakeWinRect(20,20,75,35), A_NORMAL | B_CUT ); TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/1229.png)