Makescrrect - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Windows

MakeScrRect

Declaration:
SCR_RECT * MakeScrRect (SWORD x0 , SWORD y0 , SWORD x1 ,
SWORD y1 , SCR_RECT * sr )
Category:
Windows
Description:
Given the upper left and lower right coordinates of a screen region and an
address of a SCR_RECT, assign them to that SCR_RECT and return that
address
Inputs:
x0 , y0 — Upper left coordinates of SCR_RECT.
x1 , y1 — Lower right coordinates of SCR_RECT.
sr
Outputs:
sr
Assumptions:
Unlike MakeWinRect, the caller passes the address of the SCR_RECT to
assign the coordinates to.
Note that WIN_RECTs and SCR_RECTs are not the same. WIN_RECTs
are base on unsigned short values (WINDOW coordinates) whereas
SCR_RECTs are base on BYTE values (screen coordinates)
Side Effects:
None
Availability:
All versions of the TI-89 and TI-92 Plus.
TI-89/TI-92 Plus
Differences:
None
See Also:
MakeWinRect
Example:
See SetWinClip.
TI-89 / TI-92 Plus Developer Guide
— Address of a SCR_RECT structure.
Not for Distribution
1147
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents