![Compsee Apex III Technical Reference Manual Download Page 122](http://html1.mh-extra.com/html/compsee/apex-iii/apex-iii_technical-reference-manual_2647577122.webp)
Apex PDT Technical Reference Manual
7 Apex Programming Resource
COAM30002
Rev. 2.00
8/13/02
7-14
PutText
Syntax:
int PutText(int left, int top, int right, int bottom, int
*source)
Input:
Screen coordinates and pointer to buffer
Returns:
1 on success, 0 on error.
Notes:
Writes the contents of the memory area
*source
to the
onscreen rectangle defined by (
left, top
) and
(
right ,bottom
).
PutText()
is a text-mode function
performing direct video output. All coordinates are
absolute screen coordinates, not window relative. The
upper left corner coordinate is (1, 1).
GetVideoConfig
Syntax:
void GetVideoConfig(struct video_info *vc)
Input:
Pointer to structure.
Returns:
None
Notes:
Retrieves information about the current video setup.
Active video mode, number of screen columns, active
page, and offset to next page placed in supplied structure.
The
video_info
structure, declared in
[a3lib.h]
, contains
the following elements:
int mode;
// active video mode
int cols;
// number of screen columns
int page;
// active video page
int pageoff;
// offset to next video page
Summary of Contents for Apex III
Page 2: ...This Page Intentionally Left Blank...
Page 12: ...Apex PDT Technical Reference Manual Table Of Contents COAM30002 Rev 2 00 8 13 02 viii...
Page 108: ...Apex PDT Technical Reference Manual 6 Utility Programs COAM30002 Rev 2 00 8 13 02 6 36...
Page 152: ...Apex PDT Technical Reference Manual 10 Power Management COAM30002 Rev 2 00 8 13 02 10 8...
Page 166: ...Apex III Technical Reference Manual Appendix A COAM30002 Rev 1 03 08 13 02 A 6...
Page 167: ...This Page Intentionally Left Blank...