chromium/third_party/blink/renderer/core/layout/svg/svg_marker_data.cc

/*
 * Copyright (C) Research In Motion Limited 2010. 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.
 */

#include "third_party/blink/renderer/core/layout/svg/svg_marker_data.h"

#include "base/auto_reset.h"
#include "third_party/blink/renderer/core/svg/svg_path_byte_stream_source.h"
#include "third_party/blink/renderer/core/svg/svg_path_parser.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"

namespace blink {

static double BisectingAngle(double in_angle, double out_angle) {}

void SVGMarkerDataBuilder::Build(const Path& path) {}

void SVGMarkerDataBuilder::UpdateFromPathElement(void* info,
                                                 const PathElement& element) {}

namespace {

// Path processor that converts an arc segment to a cubic segment with
// equivalent start/end tangents.
class MarkerPathSegmentProcessor : public SVGPathNormalizer {};

Vector<PathSegmentData> MarkerPathSegmentProcessor::DecomposeArc(
    const PathSegmentData& segment) {}

void MarkerPathSegmentProcessor::EmitSegment(
    const PathSegmentData& original_segment) {}

}  // namespace

void SVGMarkerDataBuilder::Build(const SVGPathByteStream& stream) {}

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

double SVGMarkerDataBuilder::CurrentAngle(AngleType type) const {}

SVGMarkerDataBuilder::AngleType SVGMarkerDataBuilder::DetermineAngleType(
    bool ends_subpath) const {}

void SVGMarkerDataBuilder::UpdateAngle(bool ends_subpath) {}

void SVGMarkerDataBuilder::ComputeQuadTangents(SegmentData& data,
                                               const gfx::PointF& start,
                                               const gfx::PointF& control,
                                               const gfx::PointF& end) {}

SVGMarkerDataBuilder::SegmentData
SVGMarkerDataBuilder::ExtractPathElementFeatures(
    const PathElement& element) const {}

void SVGMarkerDataBuilder::UpdateFromPathElement(const PathElement& element) {}

void SVGMarkerDataBuilder::Flush() {}

}  // namespace blink