x = (int)((x * scaleX) + component.getX() + tx);
y = (int)((y * scaleY) + component.getY() + ty);
width = (int)Math.ceil(width * scaleX);
height = (int)Math.ceil(height * scaleY);
parent.repaint(x, y, width, height);
}
}
public Bounds getBounds(Component component) {
int width = (int)Math.ceil(component.getWidth() * scaleX);