OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1365 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); } | 1365 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); } |
1366 SVGLength* strokeWidth() const { return svgStyle().strokeWidth(); } | 1366 SVGLength* strokeWidth() const { return svgStyle().strokeWidth(); } |
1367 void setStrokeWidth(PassRefPtrWillBeRawPtr<SVGLength> w) { accessSVGStyle(). setStrokeWidth(w); } | 1367 void setStrokeWidth(PassRefPtrWillBeRawPtr<SVGLength> w) { accessSVGStyle(). setStrokeWidth(w); } |
1368 SVGLengthList* strokeDashArray() const { return svgStyle().strokeDashArray() ; } | 1368 SVGLengthList* strokeDashArray() const { return svgStyle().strokeDashArray() ; } |
1369 void setStrokeDashArray(PassRefPtrWillBeRawPtr<SVGLengthList> array) { acces sSVGStyle().setStrokeDashArray(array); } | 1369 void setStrokeDashArray(PassRefPtrWillBeRawPtr<SVGLengthList> array) { acces sSVGStyle().setStrokeDashArray(array); } |
1370 SVGLength* strokeDashOffset() const { return svgStyle().strokeDashOffset(); } | 1370 SVGLength* strokeDashOffset() const { return svgStyle().strokeDashOffset(); } |
1371 void setStrokeDashOffset(PassRefPtrWillBeRawPtr<SVGLength> d) { accessSVGSty le().setStrokeDashOffset(d); } | 1371 void setStrokeDashOffset(PassRefPtrWillBeRawPtr<SVGLength> d) { accessSVGSty le().setStrokeDashOffset(d); } |
1372 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } | 1372 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } |
1373 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); } | 1373 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); } |
1374 | 1374 |
1375 const Length& x() const { return svgStyle().x(); } | |
1376 void setX(Length x) { accessSVGStyle().setX(x); } | |
fs
2015/02/04 13:24:52
I've seen the setters used, but not the getters...
Erik Dahlström (inactive)
2015/02/05 16:09:01
Done.
| |
1377 const Length& y() const { return svgStyle().y(); } | |
1378 void setY(Length y) { accessSVGStyle().setY(y); } | |
1379 | |
1375 float floodOpacity() const { return svgStyle().floodOpacity(); } | 1380 float floodOpacity() const { return svgStyle().floodOpacity(); } |
1376 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } | 1381 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } |
1377 | 1382 |
1378 float stopOpacity() const { return svgStyle().stopOpacity(); } | 1383 float stopOpacity() const { return svgStyle().stopOpacity(); } |
1379 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } | 1384 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } |
1380 | 1385 |
1381 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } | 1386 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } |
1382 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } | 1387 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } |
1383 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c) ; } | 1388 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c) ; } |
1384 | 1389 |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1851 } | 1856 } |
1852 | 1857 |
1853 inline bool RenderStyle::hasPseudoElementStyle() const | 1858 inline bool RenderStyle::hasPseudoElementStyle() const |
1854 { | 1859 { |
1855 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1860 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1856 } | 1861 } |
1857 | 1862 |
1858 } // namespace blink | 1863 } // namespace blink |
1859 | 1864 |
1860 #endif // RenderStyle_h | 1865 #endif // RenderStyle_h |
OLD | NEW |