ICEpdf
  1. ICEpdf
  2. PDF-46

Remove X0R draw code from annotation painting

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Sun JDK 1.6 >, windows with direct 3D support
    • Assignee Priority:
      P1

      Description

      Java JDK 1.6 for windows introduced direct 3D support for Java2d out of the box. For the most part his works well and speeds up most drawing operations. However there is no equivalent call for Java2D's xor paint type in direct 3d.

      We use xor painting for mouse over effects of certain annotation types and as a result see painting and performance issues. Direct 3D is only supported on windows so this is a windows only problem. Probably the best fix is to replace the xor paint with some configurable alpha blend.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19366 Wed Oct 07 17:31:09 MDT 2009 patrick.corless PDF-46 - removed xor draw code as it was messing up directX on windows in JDK 1.6. Replaces with a black fill that has a 0.4f composite value. Default values can be overridden using system properties, see the jira for more information.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/PageViewComponentImpl.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: