// If there are any hints set on the node, create a new
// RenderContext which merges them with those in the RenderContext
// passed in with the passed in hints taking precedence.
RenderContext rcIn = renderContext;
RenderingHints nodeHints = nodeSupport.getRenderingHints();
if(nodeHints != null) {
RenderingHints hints = renderContext.getRenderingHints();
RenderingHints mergedHints =
JAI.mergeRenderingHints(nodeHints, hints);
if(mergedHints != hints) {
rcIn = new RenderContext(renderContext.getTransform(),
renderContext.getAreaOfInterest(),
mergedHints);