ICEpdf
  1. ICEpdf
  2. PDF-131

Annotation border shinks on resize rounding error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      any

      Description

      No one has complained about this yet but there is a bug in the annotation JComponent in that a resized causes the border to shrink at zooms lower then 125%. The issue is likely related to the number rounding when moving betwen floats and ints and back again. I need to see if I can update the components getbounds to use a Rectangle2D.Float instead of a Rectangle.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20221 Thu Jan 14 08:00:17 MST 2010 patrick.corless PDF-131 updated bound resize and move calculations when moveing from page space to user space. Minimizes rounding erros that can occur.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/AnnotationComponentImpl.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: