chromium/third_party/blink/renderer/core/geometry/dom_quad.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/geometry/dom_quad.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_dom_point_init.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_dom_quad_init.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_dom_rect_init.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_object_builder.h"
#include "third_party/blink/renderer/core/geometry/dom_point.h"
#include "third_party/blink/renderer/core/geometry/dom_rect.h"
#include "third_party/blink/renderer/core/geometry/geometry_util.h"

namespace blink {
namespace {

class DOMQuadPoint final : public DOMPoint {};

double NanSafeMin4(double a, double b, double c, double d) {}

double NanSafeMax4(double a, double b, double c, double d) {}

}  // namespace

DOMQuad* DOMQuad::Create(const DOMPointInit* p1,
                         const DOMPointInit* p2,
                         const DOMPointInit* p3,
                         const DOMPointInit* p4) {}

DOMQuad* DOMQuad::fromRect(const DOMRectInit* other) {}

DOMQuad* DOMQuad::fromQuad(const DOMQuadInit* other) {}

DOMRect* DOMQuad::getBounds() {}

void DOMQuad::CalculateBounds() {}

DOMQuad::DOMQuad(const DOMPointInit* p1,
                 const DOMPointInit* p2,
                 const DOMPointInit* p3,
                 const DOMPointInit* p4)
    :{}

DOMQuad::DOMQuad(double x, double y, double width, double height)
    :{}

ScriptValue DOMQuad::toJSONForBinding(ScriptState* script_state) const {}

}  // namespace blink