chromium/third_party/blink/renderer/core/svg/svg_path_string_builder.cc

/*
 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/core/svg/svg_path_string_builder.h"

#include "base/notreached.h"
#include "third_party/blink/renderer/core/svg/svg_path_data.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "ui/gfx/geometry/point_f.h"

namespace blink {

String SVGPathStringBuilder::Result() {}

static void AppendFloat(StringBuilder& string_builder, float value) {}

static void AppendBool(StringBuilder& string_builder, bool value) {}

static void AppendPoint(StringBuilder& string_builder,
                        const gfx::PointF& point) {}

// TODO(fs): Centralized location for this (SVGPathSeg.h?)
static const char kPathSegmentCharacter[] =;

void SVGPathStringBuilder::EmitSegment(const PathSegmentData& segment) {}

}  // namespace blink