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 6.5.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>THPPlayerDrawCurrentFrame</title> 10</head> 11 12<body> 13 14<h1>THPPlayerDrawCurrentFrame</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include "THPPlayer.h" 19 20s32 THPPlayerDrawCurrentFrame(GXRenderModeObj *rmode, 21 u32 x, 22 u32 y, 23 u32 polygonW, 24 u32 polygonH); 25</pre></dd></dl> 26 27<h2>Arguments</h2> 28<TABLE class="arguments" border="1" > 29 <tr> 30<th>rmode</th> 31<td>Pointer to the <code>GXRenderModeObj</code> that is currently set.</td> 32 </tr> 33 <tr> 34<th><STRONG><EM><CODE>x</CODE></EM></STRONG></th> 35<td>x coordinate of the upper left of the polygon that displays the movie data on the TV screen.</td> 36 </tr> 37 <tr> 38<th>y</th> 39<td>y coordinate of the upper left of the polygon that displays the movie data on the TV screen.</td> 40 </tr> 41 <tr> 42<th>polygonW</th> 43<td>Width of the polygon that displays the movie.</td> 44 </tr> 45 <tr> 46<th>polygonH</th> 47<td>Height of the polygon that displays the movie.</td> 48 </tr> 49</table> 50 51<h2>Return Values</h2> 52<p>Returns the frame numbers rendered if successful, -1 otherwise.</p> 53 54<H2>Description</H2> 55<p>The <code>THPPlayerDrawCurrentFrame</code> function draws the current frame of the THP movie data by pasting it on the polygon.</p> 56 57<H2>See Also</H2> 58<p>None.</p> 59 60<H2>Revision History</H2> 61<P> 622006/03/01 Initial version.<br> 63</P> 64 65<hr><p>CONFIDENTIAL</p></body> 66</html> 67