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

/*
 * Copyright (C) 2004, 2005 Nikolas Zimmermann <[email protected]>
 * Copyright (C) 2004, 2005 Rob Buis <[email protected]>
 *
 * 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_transform.h"

#include "third_party/blink/renderer/platform/wtf/math_extras.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "ui/gfx/geometry/vector2d_f.h"

namespace blink {

SVGTransform::SVGTransform() :{}

SVGTransform::SVGTransform(SVGTransformType transform_type,
                           ConstructionMode mode)
    :{}

SVGTransform::SVGTransform(const AffineTransform& matrix)
    :{}

SVGTransform::~SVGTransform() = default;

SVGTransform* SVGTransform::Clone() const {}

SVGPropertyBase* SVGTransform::CloneForAnimation(const String&) const {}

void SVGTransform::SetMatrix(const AffineTransform& matrix) {}

void SVGTransform::OnMatrixChange() {}

void SVGTransform::SetTranslate(float tx, float ty) {}

gfx::Vector2dF SVGTransform::Translate() const {}

void SVGTransform::SetScale(float sx, float sy) {}

gfx::Vector2dF SVGTransform::Scale() const {}

void SVGTransform::SetRotate(float angle, float cx, float cy) {}

void SVGTransform::SetSkewX(float angle) {}

void SVGTransform::SetSkewY(float angle) {}

namespace {

const char* TransformTypePrefixForParsing(SVGTransformType type) {}

gfx::PointF DecomposeRotationCenter(const AffineTransform& matrix,
                                    float angle) {}

}  // namespace

String SVGTransform::ValueAsString() const {}

void SVGTransform::Add(const SVGPropertyBase*, const SVGElement*) {}

void SVGTransform::CalculateAnimatedValue(const SMILAnimationEffectParameters&,
                                          float,
                                          unsigned,
                                          const SVGPropertyBase*,
                                          const SVGPropertyBase*,
                                          const SVGPropertyBase*,
                                          const SVGElement*) {}

float SVGTransform::CalculateDistance(const SVGPropertyBase*,
                                      const SVGElement*) const {}

}  // namespace blink