how to use clip to reduce paint time?
问题 i am trying to use clip to reduce the cpu load. but the clip leaves some garbage on the screen that i can not seem to get rid of. also, turning clipping on and off seems to have no effect on the cpu load. in either case. most of the time seems to be spent in the repaint manager and paint buffered image. import static java.lang.Math.*; import static java.awt.Color.*; import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.awt.image.*; import java.lang.reflect