return;
Object[] extendedCacheKeys = getExtendedCacheKeys(c);
ctx = getPaintContext();
CacheMode cacheMode = ctx == null ? CacheMode.NO_CACHING : ctx.getCacheMode();
if (cacheMode == CacheMode.NO_CACHING || !ImageCache.getInstance().isImageCachable(w, h) || g instanceof PrinterGraphics) {
paintDirectly(g, c, w, h, extendedCacheKeys);
} else {
paintWithCaching(g, c, w, h, extendedCacheKeys);