static void setRenderingHints( Graphics2D g ) {
		// enable anti-aliasing
		g.setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON );

		// disable coordinate normalization for correct line rendering
		g.setRenderingHint( RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_PURE );

		// enable better image scaling
		g.setRenderingHint( RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR );
	}
Returns the scaled height of the icon.
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java