aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsTriangle.h
blob: 8cc8c6d3b5e49759c617183c9249ae6c09e10fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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