public static double getSystemScaleFactor( Graphics2D g ) {
		return isSystemScalingEnabled() ? getSystemScaleFactor( g.getDeviceConfiguration() ) : 1;
	}
Returns the system scale factor for the given graphics context.
flatlaf-core/src/main/java/com/formdev/flatlaf/util/UIScale.java