diff options
Diffstat (limited to 'WebCore/platform/graphics/transforms/TranslateTransformOperation.h')
-rw-r--r-- | WebCore/platform/graphics/transforms/TranslateTransformOperation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/transforms/TranslateTransformOperation.h b/WebCore/platform/graphics/transforms/TranslateTransformOperation.h index a66cc3d..ea48d49 100644 --- a/WebCore/platform/graphics/transforms/TranslateTransformOperation.h +++ b/WebCore/platform/graphics/transforms/TranslateTransformOperation.h @@ -46,6 +46,10 @@ public: double y(const IntSize& borderBoxSize) const { return m_y.calcFloatValue(borderBoxSize.height()); } double z(const IntSize&) const { return m_z.calcFloatValue(1); } + Length x() const { return m_x; } + Length y() const { return m_y; } + Length z() const { return m_z; } + private: virtual bool isIdentity() const { return m_x.calcFloatValue(1) == 0 && m_y.calcFloatValue(1) == 0 && m_z.calcFloatValue(1) == 0; } |