Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3289

Wrong unit MM_PER_INCH in PDRectangle

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1, 3.0.0 PDFBox
    • Component/s: PDModel
    • Labels:
      None

      Description

      PDRectangle has private field MM_PER_INCH, which is actually POINTS_PER_MM according to how that constant is defined, and how that constant is used further.

      Since the field is private, I believe it can be easily renamed to avoid confusion.

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              zvorygin Dmitry Zvorygin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified