[Canvas] Canvas needs a fast rectangular clip capabiity

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None

      Canvas has a general clip() method, but it is currently implemented in the most general way that assumes that the clip is an arbitrary shape with soft edges. The performance would be much higher if we detected rectangular clips and implemented them using scissor clipping rather than raster operations.

      It would be even more useful to programmers to implement a front end API on GraphicsContext to let them specify a rectangular clip up front rather than having to construct a path.

            Assignee:
            Jim Graham
            Reporter:
            Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: