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="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>G2_SetBG0Offset</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G2_SetBG0Offset <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<PRE> 20<CODE>#include <nitro/gx/g2.h></CODE><BR> 21<CODE>void G2_SetBG0Offset(int hOffset, int vOffset);</CODE></PRE></dd> 22</dl><h2>Arguments</h2> 23 24<table border="1" width="100%"> 25 26 <tr> 27 <TD width="109"><em><strong><font face="Courier New">hOffset</font></strong></em></TD> 28 <TD width="593">Horizontal offset setting</TD> 29 </tr> 30 <TR> 31 <TD><em><strong><font face="Courier New">vOffset</font></strong></em></TD> 32 <TD>Vertical offset setting</TD> 33 </TR> 34 </table> 35<h2>Return Values</h2> 36<p>None.</p> 37<H2>Description</H2> 38<P>This function specifies in pixels the offset for the BG0 screen (for 2D) with the display screen.</P> 39 40<h2>See Also</h2> 41<P><CODE><A href="G2_SetBG1Offset.html">G2_SetBG1Offset</A>, <A href="G2_SetBG2Offset.html">G2_SetBG2Offset</A>, <A href="G2_SetBG3Offset.html">G2_SetBG3Offset</A>, <A href="../g3/G3X_SetHOffset.html">G3X_SetHOffset</A></CODE></P> 42<H2>Revision History</H2> 43<P>2004/01/19 Initial version.</P> 44<hr><p>CONFIDENTIAL</p></body> 45</html> 46