#include "core/rendering/svg/SVGTextChunk.h"
#include "wtf/Vector.h"
-namespace WebCore {
+namespace blink {
class SVGInlineTextBox;
struct SVGTextFragment;
SVGTextChunkBuilder();
const Vector<SVGTextChunk>& textChunks() const { return m_textChunks; }
- void transformationForTextBox(SVGInlineTextBox*, AffineTransform&) const;
+ AffineTransform transformationForTextBox(SVGInlineTextBox*) const;
void buildTextChunks(Vector<SVGInlineTextBox*>& lineLayoutBoxes);
void layoutTextChunks(Vector<SVGInlineTextBox*>& lineLayoutBoxes);
void processTextLengthSpacingCorrection(bool isVerticalText, float textLengthShift, Vector<SVGTextFragment>&, unsigned& atCharacter);
void processTextAnchorCorrection(bool isVerticalText, float textAnchorShift, Vector<SVGTextFragment>&);
- void buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment&, AffineTransform&);
private:
Vector<SVGTextChunk> m_textChunks;
HashMap<SVGInlineTextBox*, AffineTransform> m_textBoxTransformations;
};
-} // namespace WebCore
+} // namespace blink
#endif