Java Code Examples for sun.awt.SunHints#INTVAL_RESOLUTION_VARIANT_OFF
The following examples show how to use
sun.awt.SunHints#INTVAL_RESOLUTION_VARIANT_OFF .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SunGraphics2D.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 2
Source File: SunGraphics2D.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 3
Source File: SunGraphics2D.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 4
Source File: SunGraphics2D.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 5
Source File: SunGraphics2D.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 6
Source File: SunGraphics2D.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 7
Source File: SunGraphics2D.java From hottub with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 8
Source File: SunGraphics2D.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }
Example 9
Source File: SunGraphics2D.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
private boolean isHiDPIImage(final Image img) { return (SurfaceManager.getImageScale(img) != 1) || (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_OFF && img instanceof MultiResolutionImage); }