#include <nnsys/g2d/g2d_CharCanvas.h>
void NNS_G2dCharCanvasClearArea(
const NNSG2dCharCanvas* pCC,
int cl,
int x,
int y,
int w,
int h
);
pCC | [IN] Pointer to CharCanvas |
cl | [IN] Color No. to use as fill color |
x | [IN] Coordinate of upper-left corner of rectangle to fill (in CharCanvas coordinate system) |
y | [IN] Coordinate of upper-left corner of rectangle to fill (in CharCanvas coordinate system) |
w | [IN] Width of rectangle to fill (in pixel units) |
h | [IN] Height of rectangle to fill (in pixel units) |
None.
Fills the rectangle on CharCanvas with the specified color. The coordinates are expressed in the CharCanvas coordinate system, where the upper-left corner of CharCanvas is (0,0).
This function is extremely slow compared to NNS_G2dCharCanvasClear
so if you are going to fill the entire CharCanvas you should use NNS_G2dCharCanvasClear
.
2005/05/25 Initial version.
CONFIDENTIAL