[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-dev
Subject:    DO NOT REPLY [Bug 47436] New: Changing visibility for
From:       bugzilla () apache ! org
Date:       2009-06-26 18:14:00
Message-ID: bug-47436-30099 () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

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@xmlgraphics.apache.org
        ReportedBy: boris.kolar.mail@gmail.com


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@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic