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

Side by Side Diff: Source/core/layout/svg/line/SVGRootInlineBox.cpp

Issue 1070703002: Explicitly use SkPaint(s) in SVGInlineTextBoxPainter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3 * Copyright (C) 2006 Apple Computer Inc. 3 * Copyright (C) 2006 Apple Computer Inc.
4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 * Copyright (C) 2011 Torch Mobile (Beijing) CO. Ltd. All rights reserved. 6 * Copyright (C) 2011 Torch Mobile (Beijing) CO. Ltd. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 11 matching lines...) Expand all
22 */ 22 */
23 23
24 #include "config.h" 24 #include "config.h"
25 #include "core/layout/svg/line/SVGRootInlineBox.h" 25 #include "core/layout/svg/line/SVGRootInlineBox.h"
26 26
27 #include "core/layout/svg/LayoutSVGInlineText.h" 27 #include "core/layout/svg/LayoutSVGInlineText.h"
28 #include "core/layout/svg/LayoutSVGText.h" 28 #include "core/layout/svg/LayoutSVGText.h"
29 #include "core/layout/svg/line/SVGInlineFlowBox.h" 29 #include "core/layout/svg/line/SVGInlineFlowBox.h"
30 #include "core/layout/svg/line/SVGInlineTextBox.h" 30 #include "core/layout/svg/line/SVGInlineTextBox.h"
31 #include "core/paint/SVGRootInlineBoxPainter.h" 31 #include "core/paint/SVGRootInlineBoxPainter.h"
32 #include "core/svg/SVGTextPathElement.h"
32 33
33 namespace blink { 34 namespace blink {
34 35
35 void SVGRootInlineBox::paint(const PaintInfo& paintInfo, const LayoutPoint& pain tOffset, LayoutUnit, LayoutUnit) 36 void SVGRootInlineBox::paint(const PaintInfo& paintInfo, const LayoutPoint& pain tOffset, LayoutUnit, LayoutUnit)
36 { 37 {
37 SVGRootInlineBoxPainter(*this).paint(paintInfo, paintOffset); 38 SVGRootInlineBoxPainter(*this).paint(paintInfo, paintOffset);
38 } 39 }
39 40
40 void SVGRootInlineBox::markDirty() 41 void SVGRootInlineBox::markDirty()
41 { 42 {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 } 258 }
258 } 259 }
259 260
260 void SVGRootInlineBox::reorderValueLists(Vector<SVGTextLayoutAttributes*>& attri butes) 261 void SVGRootInlineBox::reorderValueLists(Vector<SVGTextLayoutAttributes*>& attri butes)
261 { 262 {
262 Vector<InlineBox*> leafBoxesInLogicalOrder; 263 Vector<InlineBox*> leafBoxesInLogicalOrder;
263 collectLeafBoxesInLogicalOrder(leafBoxesInLogicalOrder, reverseInlineBoxRang eAndValueListsIfNeeded, &attributes); 264 collectLeafBoxesInLogicalOrder(leafBoxesInLogicalOrder, reverseInlineBoxRang eAndValueListsIfNeeded, &attributes);
264 } 265 }
265 266
266 } // namespace blink 267 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698