1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
7<meta http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>VIConfigurePan</title>
10</head>
11
12<body>
13
14<h1 align="left">VIConfigurePan</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/vi.h&gt;
19
20void VIConfigurePan(u16 xOrg, u16 yOrg, u16 width, u16 height);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<th>xOrg</th>
27<td>The pan origin's x coordinate.</td>
28  </tr>
29  <tr>
30<th>yOrg</th>
31<td>The pan origin's y coordinate.</td>
32  </tr>
33  <tr>
34<th>width</th>
35<td>The pan width.</td>
36  </tr>
37  <tr>
38<th>height</th>
39<td>The pan height.</td>
40  </tr>
41</table>
42
43<h2>Return Values</h2>
44<p>None.</p>
45
46<h2>Description</h2>
47<p>This function configures the position and size of the pan.</p>
48
49<p>The pan is the area in the XFB shown on the screen. Normally, there is no need to call the <code>VIConfigurePan</code> function. By default, the pan is set to the same size as the XFB. This function is useful if only a part of the XFB is to be shown.</p>
50
51<p>Be careful when calling <a href="VIConfigure.html"><code>VIConfigure</code></a> after calling <CODE>VIConfigurePan</CODE>. The pan information set in <CODE>VIConfigurePan</CODE> is reset to default values by <a href="VIConfigure.html"><code>VIConfigure</code></a>.</p>
52
53<p>Changes do not take effect until <a href="VIFlush.html"><code>VIFlush</code></a> is called. See the <a href="VIFlush.html"><code>VIFlush</code></a> function reference for more details about when the change takes effect.</p>
54
55<h2>See Also</h2>
56<P class="reference">
57<a href="VIFlush.html">VIFlush</a>,
58<a href="VIConfigure.html">VIConfigure</a>
59</p>
60
61<h2>Revision History</h2>
62<P>
632006/03/01 Initial version.<br>
64</p>
65
66<hr><p>CONFIDENTIAL</p></body>
67</html>