File indexing completed on 2024-04-28 15:24:19

0001 /*
0002  * This file is part of the WebKit project.
0003  *
0004  * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
0005  *           (C) 2006 Apple Computer Inc.
0006  *           (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
0007  *
0008  * This library is free software; you can redistribute it and/or
0009  * modify it under the terms of the GNU Library General Public
0010  * License as published by the Free Software Foundation; either
0011  * version 2 of the License, or (at your option) any later version.
0012  *
0013  * This library is distributed in the hope that it will be useful,
0014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0016  * Library General Public License for more details.
0017  *
0018  * You should have received a copy of the GNU Library General Public License
0019  * along with this library; see the file COPYING.LIB.  If not, write to
0020  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0021  * Boston, MA 02110-1301, USA.
0022  *
0023  */
0024 
0025 #include "wtf/Platform.h"
0026 
0027 #if ENABLE(SVG)
0028 #include "SVGInlineFlowBox.h"
0029 #include "SVGNames.h"
0030 
0031 namespace WebCore
0032 {
0033 
0034 using namespace SVGNames;
0035 
0036 void SVGInlineFlowBox::paint(RenderObject::PaintInfo &paintInfo, int tx, int ty)
0037 {
0038     Q_UNUSED(paintInfo);
0039     Q_UNUSED(tx);
0040     Q_UNUSED(ty);
0041     //ASSERT_NOT_REACHED();
0042 }
0043 
0044 int SVGInlineFlowBox::placeBoxesHorizontally(int x, int &leftPosition, int &rightPosition, bool &needsWordSpacing)
0045 {
0046     Q_UNUSED(x);
0047     Q_UNUSED(leftPosition);
0048     Q_UNUSED(rightPosition);
0049     Q_UNUSED(needsWordSpacing);
0050 
0051     // no-op
0052     return 0;
0053 }
0054 
0055 void SVGInlineFlowBox::verticallyAlignBoxes(int &heightOfBlock)
0056 {
0057     Q_UNUSED(heightOfBlock);
0058     // no-op
0059 }
0060 
0061 } // namespace WebCore
0062 
0063 #endif // ENABLE(SVG)