diff options
author | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
---|---|---|
committer | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
commit | 5f1ab04193ad0130ca8204aadaceae083aca9881 (patch) | |
tree | 5a92cd389e2cfe7fb67197ce14b38469462379f8 /WebCore/rendering/RenderSVGTSpan.cpp | |
parent | 194315e5a908cc8ed67d597010544803eef1ac59 (diff) | |
download | external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.zip external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.gz external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.bz2 |
Get WebKit r44544.
Diffstat (limited to 'WebCore/rendering/RenderSVGTSpan.cpp')
-rw-r--r-- | WebCore/rendering/RenderSVGTSpan.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/WebCore/rendering/RenderSVGTSpan.cpp b/WebCore/rendering/RenderSVGTSpan.cpp index d493c45..90ff36c 100644 --- a/WebCore/rendering/RenderSVGTSpan.cpp +++ b/WebCore/rendering/RenderSVGTSpan.cpp @@ -26,11 +26,6 @@ #if ENABLE(SVG) #include "RenderSVGTSpan.h" -#include "FloatQuad.h" -#include "RenderBlock.h" -#include "SVGInlineTextBox.h" -#include "SVGRootInlineBox.h" - namespace WebCore { RenderSVGTSpan::RenderSVGTSpan(Node* n) @@ -38,46 +33,6 @@ RenderSVGTSpan::RenderSVGTSpan(Node* n) { } -void RenderSVGTSpan::absoluteRects(Vector<IntRect>& rects, int, int, bool) -{ - InlineRunBox* firstBox = firstLineBox(); - - SVGRootInlineBox* rootBox = firstBox ? static_cast<SVGInlineTextBox*>(firstBox)->svgRootInlineBox() : 0; - RenderBox* object = rootBox ? rootBox->block() : 0; - - if (!object) - return; - - int xRef = object->x(); - int yRef = object->y(); - - for (InlineRunBox* curr = firstBox; curr; curr = curr->nextLineBox()) { - FloatRect rect(xRef + curr->x(), yRef + curr->y(), curr->width(), curr->height()); - // FIXME: broken with CSS transforms - rects.append(enclosingIntRect(absoluteTransform().mapRect(rect))); - } -} - -void RenderSVGTSpan::absoluteQuads(Vector<FloatQuad>& quads, bool) -{ - InlineRunBox* firstBox = firstLineBox(); - - SVGRootInlineBox* rootBox = firstBox ? static_cast<SVGInlineTextBox*>(firstBox)->svgRootInlineBox() : 0; - RenderBox* object = rootBox ? rootBox->block() : 0; - - if (!object) - return; - - int xRef = object->x(); - int yRef = object->y(); - - for (InlineRunBox* curr = firstBox; curr; curr = curr->nextLineBox()) { - FloatRect rect(xRef + curr->x(), yRef + curr->y(), curr->width(), curr->height()); - // FIXME: broken with CSS transforms - quads.append(absoluteTransform().mapRect(rect)); - } -} - } #endif // ENABLE(SVG) |