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

Side by Side Diff: Source/core/rendering/svg/SVGTextLayoutEngine.h

Issue 140053006: Optimize glyph positioning for SVG <textPath> layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: This is why I used an OwnPtr... Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutEngine.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 unsigned m_visualCharacterOffset; 89 unsigned m_visualCharacterOffset;
90 unsigned m_visualMetricsListOffset; 90 unsigned m_visualMetricsListOffset;
91 float m_x; 91 float m_x;
92 float m_y; 92 float m_y;
93 float m_dx; 93 float m_dx;
94 float m_dy; 94 float m_dy;
95 bool m_isVerticalText; 95 bool m_isVerticalText;
96 bool m_inPathLayout; 96 bool m_inPathLayout;
97 97
98 // Text on path layout 98 // Text on path layout
99 Path m_textPath; 99 Path::PositionCalculator* m_textPathCalculator;
100 float m_textPathLength; 100 float m_textPathLength;
101 float m_textPathStartOffset; 101 float m_textPathStartOffset;
102 float m_textPathCurrentOffset; 102 float m_textPathCurrentOffset;
103 float m_textPathSpacing; 103 float m_textPathSpacing;
104 float m_textPathScaling; 104 float m_textPathScaling;
105 }; 105 };
106 106
107 } // namespace WebCore 107 } // namespace WebCore
108 108
109 #endif 109 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698