Appendix A: System Routines — Windows
1159
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinBitmapSize
Declaration:
WORD
WinBitmapSize
(WINDOW *
w
, const WIN_RECT *
WinRect
)
Category(ies):
Windows
Description:
Return the size in bytes of a bitmap for a window (may be smaller than the
size of the region defined by
WinRect
due to clipping). This size includes
the data for the bitmap and the header (2 WORDs).
Inputs:
w
— WINDOW struct of a previously opened window.
WinRect
— Defines region of BITMAP to determine size of.
Outputs:
Size of BITMAP defined by
WinRect
taking clipping into account.
Assumptions: WinBitmapSize
will clip any negative coordinates to zero (use
WinBitmapSizeExt
if negative coordinates are to be accounted for in the
return value).
Side Effects:
None
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: CalcBitmapSize, WinBitmapGet, WinBitmapPut, WinBitmapSizeExt
Example:
See
WinBitmapGet
.