aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsCubicReduceOrderTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-25 15:05:05 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-25 15:05:05 +0000
commit02352d14d4d2dc2e35d62f30674bf126eef26c26 (patch)
tree66db8996be2f58d9ff076b1d4fb0707ad2ec5917 /tests/PathOpsCubicReduceOrderTest.cpp
parent111417aae90beb459bcd77397270d67ca3731e69 (diff)
remove more unused static functions
git-svn-id: http://skia.googlecode.com/svn/trunk@12379 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathOpsCubicReduceOrderTest.cpp')
-rw-r--r--tests/PathOpsCubicReduceOrderTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsCubicReduceOrderTest.cpp b/tests/PathOpsCubicReduceOrderTest.cpp
index 54ff541bcf..9b3a4e0601 100644
--- a/tests/PathOpsCubicReduceOrderTest.cpp
+++ b/tests/PathOpsCubicReduceOrderTest.cpp
@@ -12,6 +12,7 @@
#include "SkReduceOrder.h"
#include "Test.h"
+#if 0 // disable test until stroke reduction is supported
static bool controls_inside(const SkDCubic& cubic) {
return between(cubic[0].fX, cubic[1].fX, cubic[3].fX)
&& between(cubic[0].fX, cubic[2].fX, cubic[3].fX)
@@ -40,7 +41,6 @@ static bool tiny(const SkDCubic& cubic) {
&& approximately_equal(cubic[maxY].fY, cubic[minY].fY);
}
-#if 0 // disable test until stroke reduction is supported
static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) {
SkDCubicPair cubicPair = cubic.chopAt(0.5);
if (!tiny(cubicPair.first()) && !controls_inside(cubicPair.first())) {