Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123536

HiDPI: InnerShadow offsets are wrong

XMLWordPrintable

      In hidpi mode effects applying to coordinates that two times smaller then they should be. I can't reproduce it in standalone sample. But it appears in tests. See attached screenshots. Here shadow offset is two times smaller(CanvasEffects2Test-InnerShadowoffset__10__20_hidpi.png) then should be(CanvasEffects2Test-InnerShadowoffset__10__20.png) for both axes.

        1. TestPointLightScaled.java
          1.0 kB
          Jim Graham
        2. TestPointLight.java
          0.9 kB
          Jim Graham
        3. TestCanvasSetIS.java
          0.9 kB
          Jim Graham
        4. TestCanvasGroupIS.java
          0.9 kB
          Jim Graham
        5. TestCanvasApplyIS.java
          0.9 kB
          Jim Graham
        6. Test.java
          0.8 kB
          Jim Graham
        7. CanvasEffects2Test-InnerShadowoffset__10__20.png
          8 kB
          Aleksandr Sakharuk
        8. CanvasEffects2Test-InnerShadowoffset__10__20_hidpi.png
          8 kB
          Aleksandr Sakharuk

            flar Jim Graham
            asakharu Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: