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 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1428 | 1428 |
1429 float stopOpacity() const { return svgStyle()->stopOpacity(); } | 1429 float stopOpacity() const { return svgStyle()->stopOpacity(); } |
1430 void setStopOpacity(float f) { accessSVGStyle()->setStopOpacity(f); } | 1430 void setStopOpacity(float f) { accessSVGStyle()->setStopOpacity(f); } |
1431 | 1431 |
1432 void setStopColor(const Color& c) { accessSVGStyle()->setStopColor(c); } | 1432 void setStopColor(const Color& c) { accessSVGStyle()->setStopColor(c); } |
1433 void setFloodColor(const Color& c) { accessSVGStyle()->setFloodColor(c); } | 1433 void setFloodColor(const Color& c) { accessSVGStyle()->setFloodColor(c); } |
1434 void setLightingColor(const Color& c) { accessSVGStyle()->setLightingColor(c
); } | 1434 void setLightingColor(const Color& c) { accessSVGStyle()->setLightingColor(c
); } |
1435 | 1435 |
1436 PassRefPtr<SVGLength> baselineShiftValue() const { return svgStyle()->baseli
neShiftValue(); } | 1436 PassRefPtr<SVGLength> baselineShiftValue() const { return svgStyle()->baseli
neShiftValue(); } |
1437 void setBaselineShiftValue(PassRefPtr<SVGLength> s) { accessSVGStyle()->setB
aselineShiftValue(s); } | 1437 void setBaselineShiftValue(PassRefPtr<SVGLength> s) { accessSVGStyle()->setB
aselineShiftValue(s); } |
1438 PassRefPtr<SVGLength> kerning() const { return svgStyle()->kerning(); } | |
1439 void setKerning(PassRefPtr<SVGLength> k) { accessSVGStyle()->setKerning(k);
} | |
1440 | 1438 |
1441 void setShapeOutside(PassRefPtr<ShapeValue> value) | 1439 void setShapeOutside(PassRefPtr<ShapeValue> value) |
1442 { | 1440 { |
1443 if (rareNonInheritedData->m_shapeOutside == value) | 1441 if (rareNonInheritedData->m_shapeOutside == value) |
1444 return; | 1442 return; |
1445 rareNonInheritedData.access()->m_shapeOutside = value; | 1443 rareNonInheritedData.access()->m_shapeOutside = value; |
1446 } | 1444 } |
1447 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } | 1445 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } |
1448 | 1446 |
1449 static ShapeValue* initialShapeOutside() { return 0; } | 1447 static ShapeValue* initialShapeOutside() { return 0; } |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1870 inline bool RenderStyle::hasPseudoElementStyle() const | 1868 inline bool RenderStyle::hasPseudoElementStyle() const |
1871 { | 1869 { |
1872 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1870 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
1873 } | 1871 } |
1874 | 1872 |
1875 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1873 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1876 | 1874 |
1877 } // namespace WebCore | 1875 } // namespace WebCore |
1878 | 1876 |
1879 #endif // RenderStyle_h | 1877 #endif // RenderStyle_h |
OLD | NEW |