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

[Canvas] Use of PixelWriter to write single pixels leaves the graphics in "SRC" mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u20
    • 8
    • javafx
    • None

    Description

      The code to handle single pixel writes in the PixelWriter on a GraphicsContext accidentally leaves the internal graphics object in a SRC composite mode for subsequent rendering even if that rendering is supposed to be SRC_OVER.

      The attached test case should draw 2 identical diagrams. The figure on the right blends the blue over the red, but in the one on the right the blue rectangle overwrites the red one.

      Attachments

        Activity

          People

            flar Jim Graham
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: