private void paintImage(Graphics2D g2d, Image image, int x, int y) {

		//
		// Currently, the sort emphasis is used to scale the sort icon.   This code will scale the
		// icon, up to a maximum.  The emphasis set on this column will grow and then shrink as the
		// values are updated by an animator.   The icon image being painted here will start at the
		// current icon location, grow to the max emphasis, and then shrink back to its original 
		// size.
		// 
		double max = 1.3D;
		double scale = sortEmphasis;
		scale = Math.min(max, scale);

		AffineTransform originalTransform = g2d.getTransform();
		try {

			AffineTransform cloned = (AffineTransform) originalTransform.clone();
			cloned.scale(scale, scale);

			g2d.setTransform(cloned);

			g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
				RenderingHints.VALUE_ANTIALIAS_ON);

			// center the growing icon over the normal icon using the size delta and dividing by 2
			int iw = image.getWidth(null);
			int ih = image.getHeight(null);
			double dw = (iw * scale) - iw;
			double dh = (ih * scale) - ih;
			double halfDw = dw / 2;
			double halfDh = dh / 2;

			// as the image grows, we must move x,y back so it stays centered
			double sx = x / scale;
			double sy = y / scale;
			int fx = (int) Math.round(sx - halfDw);
			int fy = (int) Math.round(sy - halfDh);

			// to make the icon change more noticeable to the user, paint a small highlight behind
			// the icon being emphasized
			paintBgHighlight(g2d, scale, max, fx, fy, iw, ih);

			g2d.drawImage(image, fx, fy, null);
		}
		finally {
			g2d.setTransform(originalTransform);
		}
	}
Sets the an emphasis value for this column that is used to slightly enlarge and call out the
sort for the column.  
@param sortEmphasis the emphasis value
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableHeaderRenderer.java