KHtml

SVGInlineFlowBox.cpp
1 /*
2  * This file is part of the WebKit project.
3  *
4  * Copyright (C) 2006 Oliver Hunt <[email protected]>
5  * (C) 2006 Apple Computer Inc.
6  * (C) 2007 Nikolas Zimmermann <[email protected]>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public License
19  * along with this library; see the file COPYING.LIB. If not, write to
20  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  *
23  */
24 
25 #include "wtf/Platform.h"
26 
27 #if ENABLE(SVG)
28 #include "SVGInlineFlowBox.h"
29 #include "SVGNames.h"
30 
31 namespace WebCore
32 {
33 
34 using namespace SVGNames;
35 
36 void SVGInlineFlowBox::paint(RenderObject::PaintInfo &paintInfo, int tx, int ty)
37 {
38  Q_UNUSED(paintInfo);
39  Q_UNUSED(tx);
40  Q_UNUSED(ty);
41  //ASSERT_NOT_REACHED();
42 }
43 
44 int SVGInlineFlowBox::placeBoxesHorizontally(int x, int &leftPosition, int &rightPosition, bool &needsWordSpacing)
45 {
46  Q_UNUSED(x);
47  Q_UNUSED(leftPosition);
48  Q_UNUSED(rightPosition);
49  Q_UNUSED(needsWordSpacing);
50 
51  // no-op
52  return 0;
53 }
54 
55 void SVGInlineFlowBox::verticallyAlignBoxes(int &heightOfBlock)
56 {
57  Q_UNUSED(heightOfBlock);
58  // no-op
59 }
60 
61 } // namespace WebCore
62 
63 #endif // ENABLE(SVG)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Oct 25 2021 22:48:22 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.