can somebody tell me what this code actually does?
int i = 0;
while (i < -1) {
double x = xCoordinates[i];
double y = yCoordinates[i];
long xx = getWidth() - Math.round((double) getWidth() * x / 1024.0);
long yy = getHeight()- Math.round((double) getHeight() * y / 768.0);
g2.translate(xx, yy);
g2.setPaint(borderColor);
g2.fill(shape);
g2.setTransform(new AffineTransform());
i++;
}
g.drawImage(mImage, 0, 0, null);
}
i am mostly intrested in lines 6,7,8 and 13
thanks