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>C Specification</h2> 17 18<dl> 19<dd><pre><code>#include <revolution/vi.h></code></pre> 20 </dd> 21<dd><pre><code>void VIConfigurePan(u16 <em>xOrg</em>, u16 <em>yOrg</em>, u16 <em>width</em>, u16 <em>height</em>)</code></pre> 22 </dd> 23</dl> 24 25<h2>Arguments</h2> 26 27<table border="1" cellpadding="3" cellspacing="0.1"> 28 <tr> 29<td width="120" bgcolor="#ffffe8"><em><strong><code>xOrg</code></strong></em></td> 30<td width="520">The pan origin's x coordinate.</td> 31 </tr> 32 <tr> 33<td width="120" bgcolor="#ffffe8"><em><strong><code>yOrg</code></strong></em></td> 34<td width="520">The pan origin's y coordinate.</td> 35 </tr> 36 <tr> 37<td width="120" bgcolor="#ffffe8"><em><strong><code>width</code></strong></em></td> 38<td width="520">The pan width.</td> 39 </tr> 40 <tr> 41<td width="120" bgcolor="#ffffe8"><em><strong><code>height</code></strong></em></td> 42<td width="520">The pan height.</td> 43 </tr> 44</table> 45 46<h2>Return Values</h2> 47 48<p>None.</p> 49 50<h2>Description</h2> 51 52<p>This function configures the position and size of the pan.</p> 53 54<p>The pan is the area in the XFB shown on the screen. Normally, there is no need to call this 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> 55 56<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 with <a href="VIConfigure.html"><code>VIConfigure</code></a>. </p> 57 58<p>Changes do not take effect until <code><a href="VIFlush.html">VIFlush</a></code> is called. See the <code><a href="VIFlush.html">VIFlush</a></code> function reference for more detail on when changes take effect. </p> 59 60<h2>See Also</h2> 61 62<p><code><a href="VIFlush.html">VIFlush</a></code>, <code><a href="VIConfigure.html">VIConfigure</a></code></p> 63 64<h2>Revision History</h2> 65 66<P>2006/03/01 Initial version.</p> 67<hr> 68<P>CONFIDENTIAL</p> 69</BODY> 70</HTML>