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<H2>C Specification</H2>
13<DL>
14  <DD>
15<PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
16  <DD>
17<PRE><CODE>u16 GXGetNumXfbLines( u16 efbHeight, f32 yscale );</CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<TABLE border="1" cellpadding="3" cellspacing="0.1">
21  <TBODY>
22    <TR>
23<TD width="120" bgcolor="#ffffe8"><I><FONT face="Courier New, Courier, mono"><B>efbHeight</B></FONT></I></TD>
24<TD width="520">Height of the embedded frame buffer, in increments of two (2 to 528).</TD>
25    </TR>
26    <TR>
27<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>yscale</FONT></STRONG></EM></TD>
28<TD width="520">Vertical scale value Range from 1.0 to 256.0</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32<H2>Return Values</H2>
33<P>Number of lines that will be copied.</P>
34<H2>Description</H2>
35<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>
36
37
38<H2>See Also</H2>
39<P><a href="GXSetDispCopyYScale.html">GXSetDispCopyYScale</a><br> <a href="GXGetYScaleFactor.html">GXGetYScaleFactor</a></P>
40<H2>Revision History</H2>
41<P>2006/03/01 Initial version.</P><hr>
42<P>CONFIDENTIAL</p>
43</BODY>
44</HTML>