michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #ifndef SkPathOpsTriangle_DEFINED michael@0: #define SkPathOpsTriangle_DEFINED michael@0: michael@0: #include "SkPathOpsPoint.h" michael@0: michael@0: struct SkDTriangle { michael@0: SkDPoint fPts[3]; michael@0: michael@0: bool contains(const SkDPoint& pt) const; michael@0: michael@0: }; michael@0: michael@0: #endif