- DeviceBitmap is always in painted state, reflect get_painted_state
- return proper clipRect if translate() is in effect