Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: Source/core/layout/svg/SVGTextChunkBuilder.h

Issue 1148323008: Eliminate SVGTextChunkBuilder::m_textBoxTransformations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/layout/svg/SVGTextChunkBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGTextChunkBuilder.h
diff --git a/Source/core/layout/svg/SVGTextChunkBuilder.h b/Source/core/layout/svg/SVGTextChunkBuilder.h
index 6f1a45e2ec966d25c49aa13b0139f4733fe988d0..e8884e895da8a0e44f66ddce8e3b0806cf03f27c 100644
--- a/Source/core/layout/svg/SVGTextChunkBuilder.h
+++ b/Source/core/layout/svg/SVGTextChunkBuilder.h
@@ -20,12 +20,11 @@
#ifndef SVGTextChunkBuilder_h
#define SVGTextChunkBuilder_h
-#include "platform/transforms/AffineTransform.h"
-#include "wtf/HashMap.h"
#include "wtf/Vector.h"
namespace blink {
+class AffineTransform;
class SVGInlineTextBox;
struct SVGTextFragment;
@@ -41,7 +40,6 @@ public:
SVGTextChunkBuilder();
void processTextChunks(const Vector<SVGInlineTextBox*>&);
- void finalizeTransformMatrices(const Vector<SVGInlineTextBox*>&) const;
protected:
typedef Vector<SVGInlineTextBox*>::const_iterator BoxListConstIterator;
@@ -50,9 +48,8 @@ protected:
private:
void processTextLengthSpacingCorrection(bool isVerticalText, float textLengthShift, Vector<SVGTextFragment>&, unsigned& atCharacter);
+ void applyTextLengthScaleAdjustment(const AffineTransform&, Vector<SVGTextFragment>&);
void processTextAnchorCorrection(bool isVerticalText, float textAnchorShift, Vector<SVGTextFragment>&);
-
- HashMap<SVGInlineTextBox*, AffineTransform> m_textBoxTransformations;
};
class SVGTextPathChunkBuilder final : public SVGTextChunkBuilder {
« no previous file with comments | « no previous file | Source/core/layout/svg/SVGTextChunkBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698