boolean close)
{
PixelWriter pw = GeneralRenderer.createSolidPixelWriter(sg2d, sData);
int off = 0;
Region clip = sg2d.getCompClip();
for (int i = 0; i < numPolys; i++) {
int numpts = nPoints[i];
GeneralRenderer.doDrawPoly(sData, pw,
xPoints, yPoints, off, numpts,
clip, transx, transy, close);