Index: Source/core/layout/style/SVGLayoutStyle.h |
diff --git a/Source/core/layout/style/SVGLayoutStyle.h b/Source/core/layout/style/SVGLayoutStyle.h |
index e4338dab45a95108322d27b02e0ff1120550f684..c5319bbdd5df7796434468e9f62733976bcdcd2d 100644 |
--- a/Source/core/layout/style/SVGLayoutStyle.h |
+++ b/Source/core/layout/style/SVGLayoutStyle.h |
@@ -91,6 +91,8 @@ public: |
static EPaintOrder initialPaintOrder() { return PO_NORMAL; } |
static Length initialX() { return Length(Fixed); } |
static Length initialY() { return Length(Fixed); } |
+ static Length initialRx() { return Length(Fixed); } |
+ static Length initialRy() { return Length(Fixed); } |
static PassRefPtrWillBeRawPtr<SVGLength> initialBaselineShiftValue() |
{ |
@@ -143,6 +145,16 @@ public: |
if (!(layout->y == obj)) |
layout.access()->y = obj; |
} |
+ void setRx(const Length& obj) |
+ { |
+ if (!(layout->rx == obj)) |
+ layout.access()->rx = obj; |
+ } |
+ void setRy(const Length& obj) |
+ { |
+ if (!(layout->ry == obj)) |
+ layout.access()->ry = obj; |
+ } |
void setFillOpacity(float obj) |
{ |
if (!(fill->opacity == obj)) |
@@ -331,6 +343,8 @@ public: |
SVGLength* baselineShiftValue() const { return misc->baselineShiftValue.get(); } |
const Length& x() const { return layout->x; } |
const Length& y() const { return layout->y; } |
+ const Length& rx() const { return layout->rx; } |
+ const Length& ry() const { return layout->ry; } |
const AtomicString& clipperResource() const { return resources->clipper; } |
const AtomicString& filterResource() const { return resources->filter; } |
const AtomicString& maskerResource() const { return resources->masker; } |