OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
4 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 4 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 gradientData->gradient = Gradient::create(this->focalPoint(attributes), | 73 gradientData->gradient = Gradient::create(this->focalPoint(attributes), |
74 this->focalRadius(attributes), | 74 this->focalRadius(attributes), |
75 this->centerPoint(attributes), | 75 this->centerPoint(attributes), |
76 this->radius(attributes)); | 76 this->radius(attributes)); |
77 | 77 |
78 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(attr
ibutes.spreadMethod())); | 78 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(attr
ibutes.spreadMethod())); |
79 | 79 |
80 addStops(gradientData, attributes.stops()); | 80 addStops(gradientData, attributes.stops()); |
81 } | 81 } |
82 | 82 |
83 } | 83 } // namespace blink |
OLD | NEW |