diff options
Diffstat (limited to 'WebCore/rendering/SVGTextLayoutUtilities.h')
-rw-r--r-- | WebCore/rendering/SVGTextLayoutUtilities.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/WebCore/rendering/SVGTextLayoutUtilities.h b/WebCore/rendering/SVGTextLayoutUtilities.h index 196a09c..8c07f62 100644 --- a/WebCore/rendering/SVGTextLayoutUtilities.h +++ b/WebCore/rendering/SVGTextLayoutUtilities.h @@ -32,7 +32,6 @@ class Font; class InlineTextBox; class RenderObject; class RenderStyle; -class RenderSVGResource; class SVGRenderStyle; class TextRun; @@ -40,26 +39,6 @@ struct SVGChar; struct SVGCharacterLayoutInfo; struct SVGInlineBoxCharacterRange; -enum SVGTextPaintSubphase { - SVGTextPaintSubphaseBackground, - SVGTextPaintSubphaseGlyphFill, - SVGTextPaintSubphaseGlyphFillSelection, - SVGTextPaintSubphaseGlyphStroke, - SVGTextPaintSubphaseGlyphStrokeSelection, - SVGTextPaintSubphaseForeground -}; - -struct SVGTextPaintInfo { - SVGTextPaintInfo() - : activePaintingResource(0) - , subphase(SVGTextPaintSubphaseBackground) - { - } - - RenderSVGResource* activePaintingResource; - SVGTextPaintSubphase subphase; -}; - struct SVGLastGlyphInfo { SVGLastGlyphInfo() : isValid(false) @@ -79,7 +58,7 @@ float applyGlyphAdvanceAndShiftRespectingOrientation(bool isVerticalText, float FloatPoint topLeftPositionOfCharacterRange(Vector<SVGChar>::iterator start, Vector<SVGChar>::iterator end); float cummulatedWidthOfInlineBoxCharacterRange(SVGInlineBoxCharacterRange&); float cummulatedHeightOfInlineBoxCharacterRange(SVGInlineBoxCharacterRange&); -TextRun svgTextRunForInlineTextBox(const UChar*, int length, const RenderStyle*, const InlineTextBox*, float xPos); +TextRun svgTextRunForInlineTextBox(const UChar*, int length, const RenderStyle*, const InlineTextBox*); float calculateCSSKerning(const RenderStyle*); bool applySVGKerning(SVGCharacterLayoutInfo&, const RenderStyle*, SVGLastGlyphInfo&, const String& unicodeString, const String& glyphName, bool isVerticalText); |