| Index: src/pathops/SkPathOpsTriangle.h
|
| diff --git a/src/pathops/SkPathOpsTriangle.h b/src/pathops/SkPathOpsTriangle.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8cc8c6d3b5e49759c617183c9249ae6c09e10fd4
|
| --- /dev/null
|
| +++ b/src/pathops/SkPathOpsTriangle.h
|
| @@ -0,0 +1,20 @@
|
| +/*
|
| + * Copyright 2012 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#ifndef SkPathOpsTriangle_DEFINED
|
| +#define SkPathOpsTriangle_DEFINED
|
| +
|
| +#include "SkPathOpsPoint.h"
|
| +
|
| +struct SkDTriangle {
|
| + SkDPoint fPts[3];
|
| +
|
| + bool contains(const SkDPoint& pt) const;
|
| +
|
| +};
|
| +
|
| +#endif
|
|
|