A programmer might use this
function when multiple
zoom
windows may be used in an application,
but the last zoom
window must be preserved.
The programmer can query the
current
zoom window, change window, and then restore the zoom
window to the original settings.
Lattice C Example
#include<dos.h>
<3—
zoom__win d o w (window)
int win d o w [];
{
union REGS in,out;
in.x.ax = 5;
in.x.bx = getdatas();/* Data segment of window[] */
in.x.cx = (int)window;
int86(zoom__int,&in,&out);
>
Set Z
qqir
Window
Function Code
AX = 6
Arguments
BX = Segment address of window coordinate array
CX = Offset address of window coordinate array
Description
This
function will
set the zoom window.
The zoom window is
the
area of the display where zooming begins.
The programmer
must pass the segment and offset values of an array which
contains the coordinates of the new zoom window.
The format
of the array should be as follows:
offset [0] x start of zoom window
offset [1] y start of zoom window
offset [2] x end of zoom window
offset [3] y end of zoom window
Note the restrictions on x coordinate values described in the
equation below.
0 <= (x__zoom__ end - x__zoom__ start/
(x__zoom__ factor + 1) % (x__zoom__factor + 1)
In English this means that the width of the zoom window must
be a multiple of the pixel replication factor.
-62-
Summary of Contents for Qtec VGA 1024
Page 1: ......
Page 2: ......
Page 4: ......
Page 8: ......
Page 9: ...INSTALLATION ...
Page 10: ......
Page 33: ...SOFTWARE UTILITIES ...
Page 34: ......
Page 48: ......
Page 49: ...SOFTWARE DRIVERS ...
Page 50: ......
Page 68: ......
Page 69: ...FOR SOFTWARE DEVELOPERS ...
Page 70: ......
Page 104: ......
Page 105: ...HARDWARE REFERENCE ...
Page 106: ......
Page 111: ...SERVICE ...
Page 112: ......
Page 118: ......
Page 119: ......
Page 120: ......
Page 121: ......
Page 122: ......
Page 123: ......