#include "THPSimple.h"
s32 THPSimpleDrawCurrentFrame(GXRenderModeObj *rmode,
u32 x,
u32 y,
u32 polygonW,
u32 polygonH);
| rmode | Pointer to the GXRenderModeObj that is currently set. |
|---|---|
x |
x coordinate of the upper left of the polygon that displays the movie data on the TV screen. |
| y | y coordinate of the upper left of the polygon that displays the movie data on the TV screen. |
| polygonW | Width of the polygon that displays the movie. |
| polygonH | Height of the polygon that displays the movie. |
Returns the frame numbers rendered if successful, -1 otherwise.
The THPSimpleDrawCurrentFrame function draws the THP video data that was extracted by the previous THPSimpleDecode function and pastes it on a polygon.
2006/03/01 Initial version.
CONFIDENTIAL