Texas Instruments TI89 Developer Guide - Page 1198
WinRect, Bitmap, continued, WinBitmapPut, WinBitmapSize
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 1198 highlights
1156 Appendix A: System Routines - Windows WinBitmapGet Declaration: Category(ies): Description: Inputs: Outputs: BOOL WinBitmapGet (WINDOW * w, const WIN_RECT * WinRect, BITMAP * Bitmap) Windows Store a series of bytes (the size of which is defined by WinBitmapSize) defining a bitmap for a window into Bitmap. Return FALSE if the region defined by WinRect is outside of the window, TRUE if it is partially or entirely inside the window. w - WINDOW struct of a previously opened window. WinRect - The region of the WINDOW w to get as a bitmap. Bitmap - Output BITMAP (the first WORD is the number of rows, the second WORD is the number of columns and then the actual data follows as a series of bytes). Note that a BITMAP must always have one or more rows and one or more columns so its size is always at least five bytes long. typedef struct { WORD NumRows; WORD NumCols; BYTE Data[1]; } BITMAP; Assumptions: Bitmap has enough room to store the retrieved BITMAP. Side Effects: Note that there is a special case if the upper left x or y coordinate is less than zero. The region from the negative area to the lower right clip area is returned (use WinBitmapSizeExt in that case to determine the correct size of Bitmap). Otherwise the region returned is based from the Clip region. Availability: All versions of the TI-89 / TI-92 Plus. TI-89 / TI-92 Plus Differences: None See Also: WinBitmapPut, WinBitmapSize, WinBitmapSizeExt (continued) TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001