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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.h

Issue 2400783002: Reformat comments in core/layout/svg (Closed)
Patch Set: Created 4 years, 2 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
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 21 matching lines...) Expand all
32 class ComputedStyle; 32 class ComputedStyle;
33 class InlineFlowBox; 33 class InlineFlowBox;
34 class LayoutObject; 34 class LayoutObject;
35 class PathPositionMapper; 35 class PathPositionMapper;
36 class SVGInlineFlowBox; 36 class SVGInlineFlowBox;
37 class SVGInlineTextBox; 37 class SVGInlineTextBox;
38 class SVGTextMetrics; 38 class SVGTextMetrics;
39 39
40 // SVGTextLayoutEngine performs the second layout phase for SVG text. 40 // SVGTextLayoutEngine performs the second layout phase for SVG text.
41 // 41 //
42 // The InlineBox tree was created, containing the text chunk information, necess ary to apply 42 // The InlineBox tree was created, containing the text chunk information,
43 // certain SVG specific text layout properties (text-length adjustments and text -anchor). 43 // necessary to apply certain SVG specific text layout properties (text-length
44 // The second layout phase uses the SVGTextLayoutAttributes stored in the indivi dual 44 // adjustments and text-anchor).
45 // LayoutSVGInlineText layoutObjects to compute the final positions for each cha racter 45 // The second layout phase uses the SVGTextLayoutAttributes stored in the
46 // which are stored in the SVGInlineTextBox objects. 46 // individual LayoutSVGInlineText layoutObjects to compute the final positions
47 // for each character which are stored in the SVGInlineTextBox objects.
47 48
48 class SVGTextLayoutEngine { 49 class SVGTextLayoutEngine {
49 STACK_ALLOCATED(); 50 STACK_ALLOCATED();
50 WTF_MAKE_NONCOPYABLE(SVGTextLayoutEngine); 51 WTF_MAKE_NONCOPYABLE(SVGTextLayoutEngine);
51 52
52 public: 53 public:
53 SVGTextLayoutEngine(const Vector<LayoutSVGInlineText*>&); 54 SVGTextLayoutEngine(const Vector<LayoutSVGInlineText*>&);
54 ~SVGTextLayoutEngine(); 55 ~SVGTextLayoutEngine();
55 56
56 void layoutCharactersInTextBoxes(InlineFlowBox* start); 57 void layoutCharactersInTextBoxes(InlineFlowBox* start);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 float m_textPathStartOffset; 97 float m_textPathStartOffset;
97 float m_textPathCurrentOffset; 98 float m_textPathCurrentOffset;
98 float m_textPathDisplacement; 99 float m_textPathDisplacement;
99 float m_textPathSpacing; 100 float m_textPathSpacing;
100 float m_textPathScaling; 101 float m_textPathScaling;
101 }; 102 };
102 103
103 } // namespace blink 104 } // namespace blink
104 105
105 #endif 106 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698