| * Copyright 2012 Google Inc. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| // region-inspired approach |
| void contourBounds(const SkPath& path, SkTDArray<SkRect>& boundsArray); |
| void simplify(const SkPath& path, bool asFill, SkPath& simple); |
| // contour outer edge walking approach |
| // FIXME: namespace testing doesn't allow global enums like this |
| void operate(const SkPath& one, const SkPath& two, ShapeOp op, SkPath& result); |
| void simplifyx(const SkPath& path, SkPath& simple); |
| // FIXME: remove this section once debugging is complete |
| extern const bool gRunTestsInOneThread; |
| extern int gDebugMaxWindSum; |
| extern int gDebugMaxWindValue; |