override drawRegion to do renderRegion's work itself
override Math.min
cache fields
Merge branch 'master' into optimize-drawRegion
add basic Graphics.drawRegion test
Merge pull request #341 from mykmelez/optimize-stuff

optimize Graphics.drawRegion, Image.class.getField, Math.min