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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>G2*_GetBG3ControlAffine</title>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">G2*_GetBG3ControlAffine <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<dl>
14  <dd>
15<CODE>#include &lt;nitro/gx/gx_bgcnt.h&gt;</CODE><BR>
16  <PRE><CODE>static inline GXBg23ControlAffine G2_GetBG3ControlAffine( void );</CODE>
17<CODE>static inline GXBg23ControlAffine G2S_GetBG3ControlAffine( void );</CODE></PRE>
18  </dd>
19</dl><h2>Arguments</h2>
20<P>None.</P>
21<h2>Return Values</h2>
22<p>The settings for BG3.</p>
23<H2>Description</H2>
24<P>When BG3 has been set to Affine BG, this gets the settings for BG3 as the <code>GXBg23ControlAffine</code> structure. See the <CODE><A href="G2_SetBG3ControlAffine.html">G2_SetBG3ControlAffine</A></CODE> function for more information on each member.<BR><BR> To use this function, BG3 must be set to Affine BG.<BR> <BR> Use the <CODE>G2_GetBG3ControlAffine</CODE> function to get the settings for the main 2D engine, and the <CODE>G2S_GetBG3ControlAffine</CODE> function to get the settings for the sub 2D engine. The following is the definition for <code>GXBg23ControlAffine</code>:</P>
25<PRE>typedef union
26{
27    u16 raw;
28    struct
29    {
30        u16 priority    :2;
31        u16 charBase    :4;
32        u16 mosaic      :1;
33        u16 _reserve    :1;
34        u16 screenBase  :5;
35        u16 areaOver    :1;
36        u16 screenSize  :2;
37    };
38}
39GXBg23ControlAffine;</PRE>
40<h2>See Also</h2>
41<P><code><a href="G2_SetBG3ControlAffine.html">G2_SetBG3ControlAffine</a><BR> <a  href="G2S_SetBG3ControlAffine.html">G2S_SetBG3ControlAffine</a></code></P>
42<H2>Revision History</H2>
43<P>2004/12/24 Initial version.</P>
44<hr><p>CONFIDENTIAL</p></body>
45</html>
46