flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatWindowsNativeWindowBorder.java
private int clipRound( double value ) {
			value -= 0.5;
			if( value < Integer.MIN_VALUE )
				return Integer.MIN_VALUE;
			if( value > Integer.MAX_VALUE )
				return Integer.MAX_VALUE;
			return (int) Math.ceil( value );
		}
/**
		 * Rounds in the same way as AWT.
		 * See AwtWin32GraphicsDevice::ClipRound()
		 */
Rounds in the same way as AWT.
Rounds in the same way as AWT .
private int clipRound( double value ) {
			value -= 0.5;
			if( value < Integer.MIN_VALUE )
				return Integer.MIN_VALUE;
			if( value > Integer.MAX_VALUE )
				return Integer.MAX_VALUE;
			return (int) Math.ceil( value );
		}
private int clipRound ( double value ) { value -= 0.5 ; if ( value < Integer . MIN_VALUE ) return Integer . MIN_VALUE ; if ( value > Integer . MAX_VALUE ) return Integer . MAX_VALUE ; return ( int ) Math . ceil ( value ) ; }
Rounds in the same way as AWT.
Rounds in the same way as AWT .