1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>GXGetNumXfbLines</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GXGetNumXfbLines</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/gx.h> 16 17u16 GXGetNumXfbLines( u16 efbHeight, f32 yscale ); 18</pre></dd></dl> 19 20<H2>Arguments</H2> 21<TABLE class="arguments" border="1" > 22 <TBODY> 23 <TR> 24<TH>efbHeight</TH> 25<TD>Height of embedded frame buffer (EFB). Ranges from 2 to 528. Should be a multiple of 2.</TD> 26 </TR> 27 <TR> 28<TH>yscale</TH> 29<TD>Vertical scale value. Range from 1.0 to 256.0.</TD> 30 </TR> 31 </TBODY> 32</TABLE> 33 34<H2>Return Values</H2> 35<P>Number of lines that will be copied.</P> 36 37<H2>Description</H2> 38<P>This is a convenient function for calculating the number of lines copied to the external frame buffer (XFB), based on given EFB height and Y scale. You can use this number to allocate the proper XFB size. You can also obtain this return value using <a href="GXSetDispCopyYScale.html"><code>GXSetDispCopyYScale</code></a>. In contrast to <code><a href="GXSetDispCopyYScale.html">GXSetDispCopyYScale</a></code>, this function does not affect the graphics processor. It only calculates the number based on input arguments.</P> 39 40<H2>See Also</H2> 41<P class="reference"> 42<A href="GXSetDispCopyYScale.html">GXSetDispCopyYScale</A>, 43<A href="GXGetYScaleFactor.html">GXGetYScaleFactor</A> 44</P> 45 46<H2>Revision History</H2> 47<P> 482006/03/01 Initial version.<br> 49</P> 50 51<hr><p>CONFIDENTIAL</p></body> 52</HTML>