Ignore:
Timestamp:
2014-10-30T11:39:47+01:00 (11 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/RadialGradient.java

    r6002 r7676  
    121121        Point2D.Float pt1 = new Point2D.Float(cx, cy);
    122122        Point2D.Float pt2 = new Point2D.Float(fx, fy);
    123         if (pt1.equals(pt2))
    124         {
    125             Color[] colors = getStopColors();
    126             paint = colors.length > 0 ? colors[0] : Color.black;
    127         } else if (gradientUnits == GU_USER_SPACE_ON_USE)
     123        if (gradientUnits == GU_USER_SPACE_ON_USE)
    128124        {
    129125            paint = new com.kitfox.svg.batik.RadialGradientPaint(
Note: See TracChangeset for help on using the changeset viewer.