You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/07/24 19:16:05 UTC

DO NOT REPLY [Bug 42968] New: - Clipping area of filter appears to be too small when using animateMotion

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42968>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42968

           Summary: Clipping area of filter appears to be too small when
                    using animateMotion
           Product: Batik
           Version: 1.7
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVGGraphics2D
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: batik.foodie@spamgourmet.com
                CC: batik.foodie@spamgourmet.com


Hi,

in the following example the line from the group with the id rudy is animated 
without a problem. However the filter referenced through the xlink is cut off 
after a few moments of the animation. I assume it's a problem with it's 
clipping area...

(Using Squiggle from batik-1.7beta1 under Windows XP)

Many thanks!

Stevo

---------------------------------------------------

Test case:

---------------------------------------------------

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/
1.1/DTD/svg11.dtd">
<svg width="900" height="800" version="1.1" xmlns="http://www.w3.org/2000/svg">
   
    <defs>
        <filter id="filter" x="0" y="0">
            <feGaussianBlur stdDeviation="4"/>
            <feOffset dx="13" dy="13"/>
        </filter>
    </defs>

        <use xlink:href="#rudy" filter="url(#filter)"/> <!-- Apache Batik 
(using Squiggle from batik-1.7beta1) has a problem with the clipping area of 
this filter - it cuts the shadow off after a little while -->

        <g id="rudy">                       
            <line x1="0" y1="0" x2="150" y2="200" style="stroke:black;stroke-
width:6">
                <animateMotion path="M 0 0 500 200" dur="10s" 
repeatCount="indefinite"/>
            </line>
         </g>
</svg>

---------------------------------------------------

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

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


DO NOT REPLY [Bug 42968] - Clipping area of filter appears to be too small when using animateMotion

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42968>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42968


cam@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From cam@apache.org  2007-08-26 21:32 -------
Hi Stevo.

Yes that is indeed a bug.  There is a bunch of areas in Batik where referenced
elements (such as the referenced filter here) are not updated when the
referencing element changes.  It might be some time before this one is fixed, as
it will require a fair amount of work to do right.

*** This bug has been marked as a duplicate of 23443 ***

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

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