| 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 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1658 svgStyle.setBaselineShiftValue(value); | 1658 svgStyle.setBaselineShiftValue(value); |
| 1659 } | 1659 } |
| 1660 | 1660 |
| 1661 // cx | 1661 // cx |
| 1662 void setCx(const Length& cx) { accessSVGStyle().setCx(cx); } | 1662 void setCx(const Length& cx) { accessSVGStyle().setCx(cx); } |
| 1663 | 1663 |
| 1664 // cy | 1664 // cy |
| 1665 void setCy(const Length& cy) { accessSVGStyle().setCy(cy); } | 1665 void setCy(const Length& cy) { accessSVGStyle().setCy(cy); } |
| 1666 | 1666 |
| 1667 // d | 1667 // d |
| 1668 void setD(PassRefPtr<StylePath> d) { accessSVGStyle().setD(d); } | 1668 void setD(PassRefPtr<StylePath> d) { accessSVGStyle().setD(std::move(d)); } |
| 1669 | 1669 |
| 1670 // x | 1670 // x |
| 1671 void setX(const Length& x) { accessSVGStyle().setX(x); } | 1671 void setX(const Length& x) { accessSVGStyle().setX(x); } |
| 1672 | 1672 |
| 1673 // y | 1673 // y |
| 1674 void setY(const Length& y) { accessSVGStyle().setY(y); } | 1674 void setY(const Length& y) { accessSVGStyle().setY(y); } |
| 1675 | 1675 |
| 1676 // r | 1676 // r |
| 1677 void setR(const Length& r) { accessSVGStyle().setR(r); } | 1677 void setR(const Length& r) { accessSVGStyle().setR(r); } |
| 1678 | 1678 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1706 // stop-opacity | 1706 // stop-opacity |
| 1707 float stopOpacity() const { return svgStyle().stopOpacity(); } | 1707 float stopOpacity() const { return svgStyle().stopOpacity(); } |
| 1708 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } | 1708 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } |
| 1709 | 1709 |
| 1710 // stroke | 1710 // stroke |
| 1711 const SVGPaintType& strokePaintType() const { return svgStyle().strokePaintT
ype(); } | 1711 const SVGPaintType& strokePaintType() const { return svgStyle().strokePaintT
ype(); } |
| 1712 Color strokePaintColor() const { return svgStyle().strokePaintColor(); } | 1712 Color strokePaintColor() const { return svgStyle().strokePaintColor(); } |
| 1713 | 1713 |
| 1714 // stroke-dasharray | 1714 // stroke-dasharray |
| 1715 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray();
} | 1715 SVGDashArray* strokeDashArray() const { return svgStyle().strokeDashArray();
} |
| 1716 void setStrokeDashArray(PassRefPtr<SVGDashArray> array) { accessSVGStyle().s
etStrokeDashArray(array); } | 1716 void setStrokeDashArray(PassRefPtr<SVGDashArray> array) { accessSVGStyle().s
etStrokeDashArray(std::move(array)); } |
| 1717 | 1717 |
| 1718 // stroke-dashoffset | 1718 // stroke-dashoffset |
| 1719 const Length& strokeDashOffset() const { return svgStyle().strokeDashOffset(
); } | 1719 const Length& strokeDashOffset() const { return svgStyle().strokeDashOffset(
); } |
| 1720 void setStrokeDashOffset(const Length& d) { accessSVGStyle().setStrokeDashOf
fset(d); } | 1720 void setStrokeDashOffset(const Length& d) { accessSVGStyle().setStrokeDashOf
fset(d); } |
| 1721 | 1721 |
| 1722 // stroke-miterlimit | 1722 // stroke-miterlimit |
| 1723 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } | 1723 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } |
| 1724 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f);
} | 1724 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f);
} |
| 1725 | 1725 |
| 1726 // stroke-opacity | 1726 // stroke-opacity |
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2613 } | 2613 } |
| 2614 | 2614 |
| 2615 inline bool ComputedStyle::hasPseudoElementStyle() const | 2615 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2616 { | 2616 { |
| 2617 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 2617 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 2618 } | 2618 } |
| 2619 | 2619 |
| 2620 } // namespace blink | 2620 } // namespace blink |
| 2621 | 2621 |
| 2622 #endif // ComputedStyle_h | 2622 #endif // ComputedStyle_h |
| OLD | NEW |