Uploaded image for project: 'XMLGraphicsCommons'
  1. XMLGraphicsCommons
  2. XGC-39

[PATCH] method disableClipping should be in PSGraphics2D class, not in AbstractPSDocumentGraphics2D

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.6
    • None
    • java2D
    • None
    • Operating System: All
      Platform: All

    Description

      The field clippingDisabled is defined in PSGraphics2D class, with a default value to false.
      The setter for this field is defined in the AbstractPSDocumentGraphics2D sub-class.

      I think that the setter should be defined in PSGraphics2D class, so that the setter stands next to the field.

      The patch is trivial: remove the method disableClipping from AbstractPSDocumentGraphics2D and put it back into PSGraphics2D.

      Attachments

        1. PSGraphics2D.diff
          1 kB
          Julien Aymé

        Activity

          People

            general@xmlgraphics.apache.org XML Graphics Project Mailing List
            julien.ayme@gmail.com Julien Aymé
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: