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 16<H2>Coverage</H2> 17<TABLE border="1" cellpadding="3" cellspacing="0.1" width="640"> 18 <TBODY> 19 <TR> 20<TD bgcolor="#C0C0C0" width="30%"><EM><STRONG>Functions</STRONG></EM></TD> 21<TD bgcolor="#C0C0C0" width="25%"><EM><STRONG>Parameters</STRONG></EM></TD> 22<TD bgcolor="#C0C0C0" width="45%"><EM><STRONG>Description</STRONG></EM></TD> 23 </TR> 24 <TR> 25<TD width="30%"><CODE><A href="../../../gx/Framebuffer/GXClearBoundingBox.html">GXClearBoundingBox</A></CODE></TD> 26<TD width="25%"><SPAN class="argument">(No parameter)</SPAN></TD> 27 <TD width="45%"> </TD> 28 </TR> 29 <TR> 30<TD width="30%"><A href="../../../gx/Framebuffer/GXReadBoundingBox.html"><CODE>GXReadBoundingBox</CODE></A></TD> 31<TD width="25%"><SPAN class="argument">top / left / right / bottom</SPAN></TD> 32<TD width="45%">Appropriate local variables.</TD> 33 </TR> 34 <TR> 35<TD width="30%"><A href="../../../gx/Management/GXSetDrawSync.html"><CODE>GXSetDrawSync</CODE></A></TD> 36<TD width="25%"><SPAN class="argument">token number</SPAN></TD> 37<TD width="45%">Counts up in every frame.</TD> 38 </TR> 39 <TR> 40<TD width="30%"><A href="../../../gx/Management/GXReadDrawSync.html"><CODE>GXReadDrawSync</CODE></A></TD> 41<TD width="25%"><SPAN class="argument">(No parameter)</SPAN></TD> 42 <TD width="45%"> </TD> 43 </TR> 44 </TBODY> 45</TABLE> 46 47<H2>Using the Demo</H2> 48<P>PAUSE exits the test.</P> 49<P>Press and hold the A button to stop the animation.</P> 50 51<H2>Snapshot</H2> 52<P><IMG src="./images/frb-bound-box.gif" alt="frb-bound-box.gif (7616 bytes)" width="640" height="448"></P> 53 54<H2>Required Data Files</H2> 55<P>None.</P> 56 57<H2>Revision History</H2> 58<P> 592006/03/01 Initial version.<br> 60</P> 61 62<hr><p>CONFIDENTIAL</p></body> 63</HTML>