chromium/third_party/skia/src/pathops/SkDLineIntersection.cpp

/*
 * Copyright 2012 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#include "include/core/SkTypes.h"
#include "src/pathops/SkIntersections.h"
#include "src/pathops/SkPathOpsLine.h"
#include "src/pathops/SkPathOpsPoint.h"
#include "src/pathops/SkPathOpsTypes.h"

#include <cmath>
#include <cstdint>
#include <utility>

void SkIntersections::cleanUpParallelLines(bool parallel) {}

void SkIntersections::computePoints(const SkDLine& line, int used) {}

int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) {}

// note that this only works if both lines are neither horizontal nor vertical
int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) {}

static int horizontal_coincident(const SkDLine& line, double y) {}

double SkIntersections::HorizontalIntercept(const SkDLine& line, double y) {}

int SkIntersections::horizontal(const SkDLine& line, double left, double right,
                                double y, bool flipped) {}

static int vertical_coincident(const SkDLine& line, double x) {}

double SkIntersections::VerticalIntercept(const SkDLine& line, double x) {}

int SkIntersections::vertical(const SkDLine& line, double top, double bottom,
                              double x, bool flipped) {}