nw::demo::GraphicsDrawing::DrawRectangle Member Function
void DrawRectangle(
s32 posh,
s32 posv,
s32 sizeh,
s32 sizev,
ut::Color8 color
);
| Name | Description | |
|---|---|---|
| in | posh | X-coordinate of the upper left edge. |
| in | posv | Y-coordinate of the upper left edge. |
| in | sizeh | X direction size of the rectangle. |
| in | sizev | Y direction size of the rectangle. |
| in | color | The color. |
Renders a line in the shape of a rectangle. The CPU generates the vertices without using a line shader.
CONFIDENTIAL