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>GXSetDispCopySrc</title> 10</head> 11 12<body> 13 14<h1 align="left">GXSetDispCopySrc</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXSetDispCopySrc( 21 u16 left, 22 u16 top, 23 u16 wd, 24 u16 ht ); 25</pre></dd></dl> 26 27<h2>Arguments</h2> 28<TABLE class="arguments" border="1" > 29 <tr> 30<TH>left</TH> 31<TD>The left most source pixel to copy. In multiples of two pixels.</TD> 32 </tr> 33 <tr> 34<TH>top</TH> 35<TD>The top most source line to copy. In multiples of two lines.</TD> 36 </tr> 37 <tr> 38<TH>wd</TH> 39<TD>Width to copy (pixels). In multiples of two pixels.</TD> 40 </tr> 41 <tr> 42<TH>ht</TH> 43<TD>Height to copy (lines). In multiples of two lines.</TD> 44 </tr> 45</TABLE> 46 47<h2>Return Values</h2> 48<p>None.</p> 49 50<H2>Description</H2> 51<P>This function sets the source parameters for the embedded frame buffer (EFB) to external frame buffer (XFB) copy operation. Copying is normally performed after frame or field rendering.</P> 52<P><SPAN class="argument">left</SPAN> and <SPAN class="argument">top</SPAN> indicate the location of the pixel within EFB to start copying. <SPAN class="argument">wd</SPAN> and <SPAN class="argument">ht</SPAN> specify the width and height of the region to be copied.</P> 53<P>Normally these parameters use the <A href="RenderMode.html">render mode</A> at that time.</P> 54<DL><DD><CODE>GXRenderModeObj* rmode = &GXNtsc240IntAa;<BR> <BR> GXSetDispCopySrc( 0,<BR> 0,<BR> rmode->fbWidth,<BR> rmode->efbHeight );</CODE></DD></DL> 55 56<h2>See Also</h2> 57<P class="reference"> 58<A href="RenderMode.html">Render Modes</A>, 59<a href="GXCopyDisp.html">GXCopyDisp</a> 60</p> 61 62<H2>Revision History</H2> 63<P> 642006/03/01 Initial version.<br> 65</P> 66 67<hr><p>CONFIDENTIAL</p></body> 68</html>