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="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css"> 8<TITLE>frb-bound-box</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">frb-bound-box</H1> 12 13<H2>Description</H2> 14<P>This program demonstrates the bounding box feature. It keeps track of the boundaries of pixels drawn in the embedded frame buffer (EFB). In this demo, cubes are flying around the screen. After each cube is drawn, the bounding box appears as a white frame on the screen.</P> 15<H2>Coverage</H2> 16<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640"> 17 <TBODY> 18 <TR> 19<TD bgcolor="#C0C0C0" width="30%"><EM><STRONG>Functions</STRONG></EM></TD> 20<TD bgcolor="#C0C0C0" width="25%"><EM><STRONG>Parameters</STRONG></EM></TD> 21<TD bgcolor="#C0C0C0" width="45%"><EM><STRONG>Description</STRONG></EM></TD> 22 </TR> 23 <TR> 24<TD width="30%"><CODE><A href="../../../gx/Framebuffer/GXClearBoundingBox.html">GXClearBoundingBox</A></CODE></TD> 25<TD width="25%"><EM><STRONG><FONT face="Courier New">(no parameter)</FONT></STRONG></EM></TD> 26 <TD width="45%"></TD> 27 </TR> 28 <TR> 29<TD width="30%"><A href="../../../gx/Framebuffer/GXReadBoundingBox.html"><CODE>GXReadBoundingBox</CODE></A></TD> 30<TD width="25%"><EM><STRONG><FONT face="Courier New">top / left / right / bottom</FONT></STRONG></EM></TD> 31<TD width="45%">Appropriate local variables.</TD> 32 </TR> 33 <TR> 34<TD width="30%"><A href="../../../gx/Management/GXSetDrawSync.html"><CODE>GXSetDrawSync</CODE></A></TD> 35<TD width="25%"><EM><STRONG><FONT face="Courier New">token number</FONT></STRONG></EM></TD> 36<TD width="45%">Counts up in every frame.</TD> 37 </TR> 38 <TR> 39<TD width="30%"><A href="../../../gx/Management/GXReadDrawSync.html"><CODE>GXReadDrawSync</CODE></A></TD> 40<TD width="25%"><EM><STRONG><FONT face="Courier New">(no parameter)</FONT></STRONG></EM></TD> 41 <TD width="45%"></TD> 42 </TR> 43 </TBODY> 44</TABLE> 45<H2>Operation Method</H2> 46<P>START exits the test.</P> 47<P>Press and hold the A button to stop the animation. 48</P> 49<H2>Snapshot</H2> 50<P><IMG src="./images/frb-bound-box.gif" alt="frb-bound-box.gif (7616 bytes)" width="640" height="448"></P> 51<H2>Required Data Files</H2> 52<P>None.</P> 53<H2>Revision History</H2> 54<P>2006/03/01 Initial version.</P> 55<hr> 56<P>CONFIDENTIAL</p> 57</BODY> 58</HTML>