« Return to Thread: DO NOT REPLY [Bug 47436] New: Changing visibility for CompositeGraphicsNode does not work

DO NOT REPLY [Bug 47436] New: Changing visibility for CompositeGraphicsNode does not work

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View in Thread

https://issues.apache.org/bugzilla/show_bug.cgi?id=47436

           Summary: Changing visibility for CompositeGraphicsNode does not
                    work
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: GVT
        AssignedTo: batik-dev@...
        ReportedBy: boris.kolar.mail@...


When setting node.setVisible(false), where node is an instance of
CompositeGraphicsNode, note is still painted.

Proposed solution:
in file org/apache/batik/gvt/AbstractGraphicsNode.java add the following at the
beginning of method "public void paint(Graphics2D g2d)":

if (!isVisible())
    return;

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@...
For additional commands, e-mail: batik-dev-help@...

 « Return to Thread: DO NOT REPLY [Bug 47436] New: Changing visibility for CompositeGraphicsNode does not work