Ignore:
Timestamp:
2014-10-30T11:39:47+01:00 (9 years ago)
Author:
stoecker
Message:

update SVG code to current SVN (fix line endings), see #10479

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/kitfox/svg/Group.java

    r6002 r7676  
    160160        //Do not process offscreen groups
    161161        boolean ignoreClip = diagram.ignoringClipHeuristic();
    162         if (!ignoreClip && outsideClip(g))
    163         {
    164             return;
    165         }
     162//        if (!ignoreClip && outsideClip(g))
     163//        {
     164//            return;
     165//        }
    166166
    167167        beginLayer(g);
     
    271271                RenderableElement rendEle = (RenderableElement) ele;
    272272                Rectangle2D bounds = rendEle.getBoundingBox();
    273                 if (bounds != null)
     273                if (bounds != null && (bounds.getWidth() != 0 || bounds.getHeight() != 0))
    274274                {
    275275                    if (retRect == null)
    276276                    {
    277277                        retRect = bounds;
    278                     } else
     278                    }
     279                    else
    279280                    {
    280                         retRect = retRect.createUnion(bounds);
     281                        if (retRect.getWidth() != 0 || retRect.getHeight() != 0)
     282                        {
     283                            retRect = retRect.createUnion(bounds);
     284                        }
    281285                    }
    282286                }
Note: See TracChangeset for help on using the changeset viewer.