About g2d drawing and program efficiency.

Here is the case.

I have a map that is 10 times the size of the screen. So only part of the map can be seen at time. And question is,

which would be better if I draw this map?

  1. translate Graphics2D to a proper focus, then draw the whole map.
  2. find out which part of the map should be shown, and draw only that part.

I am not sure if approach 1 would be much slower.

(In an other word, I don’t know if drawing out of the Clip consumes calculation)