aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPath.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-17 15:38:20 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-17 15:38:20 +0000
commitf3488ebaac4a553be5462e073c3cf5a6ce719151 (patch)
tree1571a776af36d2e08fc169d32cbdc4223a9a34da /include/core/SkPath.h
parentc047d414a4a1ecdc5d6d12d31eea9323e06b851e (diff)
Revert r3705 for fixed pt failures.
git-svn-id: http://skia.googlecode.com/svn/trunk@3706 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r--include/core/SkPath.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 025e7099b5..01b5488e6d 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -161,18 +161,6 @@ public:
this->setConvexity(isConvex ? kConvex_Convexity : kConcave_Convexity);
}
- /** Returns true if the path is an oval.
- *
- * @param rect returns the bounding rect of this oval. It's a circle
- * if the height and width are the same.
- *
- * @return true if this path is an oval.
- * Tracking whether a path is an oval is considered an
- * optimization for performance and so some paths that are in
- * fact ovals can report false.
- */
- bool isOval(SkRect* rect) const;
-
/** Clear any lines and curves from the path, making it empty. This frees up
internal storage associated with those segments.
This does NOT change the fill-type setting nor isConvex
@@ -759,8 +747,6 @@ private:
uint8_t fSegmentMask;
mutable uint8_t fBoundsIsDirty;
mutable uint8_t fConvexity;
-
- mutable SkBool8 fIsOval;
#ifdef SK_BUILD_FOR_ANDROID
uint32_t fGenerationID;
const SkPath* fSourcePath;
@@ -792,10 +778,7 @@ private:
//
inline void injectMoveToIfNeeded();
- inline bool hasOnlyMoveTos() const;
-
friend class SkAutoPathBoundsUpdate;
- friend class SkAutoDisableOvalCheck;
};
#endif