Details
-
Type: Bug
-
Status: Closed
-
Priority: 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.
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
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 3.1 [ 10181 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P1 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19366 | Wed Oct 07 17:31:09 MDT 2009 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/PageViewComponentImpl.java
|
Patrick Corless
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Patrick Corless
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Updated the PageViewComponentImpl to no longer use an xor fill for painting the annotation highlight states. Replaced with an configurable composite value. There are now two system properties that control the annotation highlight effects: one for fill color and the other for the alpha value.
Fill Colors.
Can be any valid html colour value, text or hex. The default value is black but can be overridden with the system property org.icepdf.core.views.page.annotation.highlight.color .
Fill Alpha
Controls the composite fill value, 0f is completely transparent where a value of 1.0f is complete opaque. The default value is 0.4f but can be overridden with the system property org.icepdf.core.views.page.annotation.highlight.alpha .