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

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

Issue 1548913002: Store a <scale, bias> tuple for textLength scale adjustment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop []. Created 4 years, 11 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
Index: third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.h b/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.h
index 46381eb23d2f7991dd079abbd72045b069ef17fd..64645ad7a53154faf4ec345da5820a371e33f385 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.h
@@ -25,7 +25,6 @@
namespace blink {
-class AffineTransform;
class SVGInlineTextBox;
struct SVGTextFragment;
@@ -50,7 +49,7 @@ protected:
private:
void processTextLengthSpacingCorrection(bool isVerticalText, float textLengthShift, Vector<SVGTextFragment>&, unsigned& atCharacter);
- void applyTextLengthScaleAdjustment(const AffineTransform&, Vector<SVGTextFragment>&);
+ void applyTextLengthScaleAdjustment(float textLengthScale, float textLengthBias, Vector<SVGTextFragment>&);
void processTextAnchorCorrection(bool isVerticalText, float textAnchorShift, Vector<SVGTextFragment>&);
};
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698