| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 void resetClipper(); | 111 void resetClipper(); |
| 112 void resetFilter(); | 112 void resetFilter(); |
| 113 void resetMarkerStart(); | 113 void resetMarkerStart(); |
| 114 void resetMarkerMid(); | 114 void resetMarkerMid(); |
| 115 void resetMarkerEnd(); | 115 void resetMarkerEnd(); |
| 116 void resetMasker(); | 116 void resetMasker(); |
| 117 void resetFill(); | 117 void resetFill(); |
| 118 void resetStroke(); | 118 void resetStroke(); |
| 119 void resetLinkedResource(); | 119 void resetLinkedResource(); |
| 120 | 120 |
| 121 bool setClipper(LayoutSVGResourceClipper*); | 121 void setClipper(LayoutSVGResourceClipper*); |
| 122 bool setFilter(LayoutSVGResourceFilter*); | 122 void setFilter(LayoutSVGResourceFilter*); |
| 123 bool setMarkerStart(LayoutSVGResourceMarker*); | 123 void setMarkerStart(LayoutSVGResourceMarker*); |
| 124 bool setMarkerMid(LayoutSVGResourceMarker*); | 124 void setMarkerMid(LayoutSVGResourceMarker*); |
| 125 bool setMarkerEnd(LayoutSVGResourceMarker*); | 125 void setMarkerEnd(LayoutSVGResourceMarker*); |
| 126 bool setMasker(LayoutSVGResourceMasker*); | 126 void setMasker(LayoutSVGResourceMasker*); |
| 127 bool setFill(LayoutSVGResourcePaintServer*); | 127 void setFill(LayoutSVGResourcePaintServer*); |
| 128 bool setStroke(LayoutSVGResourcePaintServer*); | 128 void setStroke(LayoutSVGResourcePaintServer*); |
| 129 bool setLinkedResource(LayoutSVGResourceContainer*); | 129 void setLinkedResource(LayoutSVGResourceContainer*); |
| 130 | 130 |
| 131 // From SVG 1.1 2nd Edition | 131 // From SVG 1.1 2nd Edition |
| 132 // clipper: 'container elements' and 'graphics elements' | 132 // clipper: 'container elements' and 'graphics elements' |
| 133 // filter: 'container elements' and 'graphics elements' | 133 // filter: 'container elements' and 'graphics elements' |
| 134 // masker: 'container elements' and 'graphics elements' | 134 // masker: 'container elements' and 'graphics elements' |
| 135 // -> a, circle, defs, ellipse, glyph, g, image, line, marker, mask, | 135 // -> a, circle, defs, ellipse, glyph, g, image, line, marker, mask, |
| 136 // missing-glyph, path, pattern, polygon, polyline, rect, svg, switch, symbol, | 136 // missing-glyph, path, pattern, polygon, polyline, rect, svg, switch, symbol, |
| 137 // text, use | 137 // text, use |
| 138 struct ClipperFilterMaskerData { | 138 struct ClipperFilterMaskerData { |
| 139 USING_FAST_MALLOC(ClipperFilterMaskerData); | 139 USING_FAST_MALLOC(ClipperFilterMaskerData); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 std::unique_ptr<ClipperFilterMaskerData> m_clipperFilterMaskerData; | 191 std::unique_ptr<ClipperFilterMaskerData> m_clipperFilterMaskerData; |
| 192 std::unique_ptr<MarkerData> m_markerData; | 192 std::unique_ptr<MarkerData> m_markerData; |
| 193 std::unique_ptr<FillStrokeData> m_fillStrokeData; | 193 std::unique_ptr<FillStrokeData> m_fillStrokeData; |
| 194 LayoutSVGResourceContainer* m_linkedResource; | 194 LayoutSVGResourceContainer* m_linkedResource; |
| 195 }; | 195 }; |
| 196 | 196 |
| 197 } // namespace blink | 197 } // namespace blink |
| 198 | 198 |
| 199 #endif | 199 #endif |
| OLD | NEW |