blob: e0f175dac5c3628389712c87d9bbf2a8a280453d [file] [log] [blame]
/*
* 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;
}