Ignore:
Timestamp:
2018-10-14T15:15:50+02:00 (8 years ago)
Author:
Don-vip
Message:

see #14319, see #16838 - update to svgSalamander 1.1.2

File:
1 edited

Legend:

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

    r11525 r14328  
    3737
    3838import com.kitfox.svg.xml.StyleAttribute;
     39import java.awt.Color;
    3940import java.awt.MultipleGradientPaint;
    4041import java.awt.Paint;
     
    129130        Point2D.Float pt1 = new Point2D.Float(cx, cy);
    130131        Point2D.Float pt2 = hasFocus ? new Point2D.Float(fx, fy) : pt1;
     132        float[] stopFractions = getStopFractions();
     133        Color[] stopColors = getStopColors();
    131134        if (gradientUnits == GU_USER_SPACE_ON_USE)
    132135        {
     
    135138                r,
    136139                pt2,
    137                 getStopFractions(),
    138                 getStopColors(),
     140                stopFractions,
     141                stopColors,
    139142                method,
    140143                MultipleGradientPaint.ColorSpaceType.SRGB,
     
    152155                r,
    153156                pt2,
    154                 getStopFractions(),
    155                 getStopColors(),
     157                stopFractions,
     158                stopColors,
    156159                method,
    157160                MultipleGradientPaint.ColorSpaceType.SRGB,
Note: See TracChangeset for help on using the changeset viewer.