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 #1198 background imageLoading...
Page #1198 background image
1156
Appendix A: System Routines — Windows
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
WinBitmapGet
Declaration:
BOOL
WinBitmapGet
(WINDOW *
w
, const WIN_RECT *
WinRect
,
BITMAP *
Bitmap
)
Category(ies):
Windows
Description:
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.
Inputs:
w
WINDOW struct of a previously opened window.
WinRect
The region of the WINDOW
w
to get as a bitmap.
Outputs:
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)

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