aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsPoint.cpp
blob: e0f175dac5c3628389712c87d9bbf2a8a280453d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * 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 "SkPathOpsPoint.h"

SkDVector operator-(const SkDPoint& a, const SkDPoint& b) {
    SkDVector v = {a.fX - b.fX, a.fY - b.fY};
    return v;
}