path ops work in progress
standardize tests
use SK_ARRAY_COUNT everywhere
debug why x87 differs from SIMD 64
various platform specific fixes
git-svn-id: http://skia.googlecode.com/svn/trunk@8689 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pathops/SkOpAngle.h b/src/pathops/SkOpAngle.h
index d599dea..00520ec 100644
--- a/src/pathops/SkOpAngle.h
+++ b/src/pathops/SkOpAngle.h
@@ -18,6 +18,7 @@
class SkOpAngle {
public:
bool operator<(const SkOpAngle& rh) const;
+
double dx() const {
return fTangent1.dx();
}
@@ -36,10 +37,12 @@
bool lengthen();
bool reverseLengthen();
+
void set(const SkPoint* orig, SkPath::Verb verb, const SkOpSegment* segment,
int start, int end, const SkTDArray<SkOpSpan>& spans);
void setSpans();
+
SkOpSegment* segment() const {
return const_cast<SkOpSegment*>(fSegment);
}