| Index: src/core/SkScan_Hairline.cpp
|
| ===================================================================
|
| --- src/core/SkScan_Hairline.cpp (revision 8101)
|
| +++ src/core/SkScan_Hairline.cpp (working copy)
|
| @@ -193,10 +193,6 @@
|
| #include "SkPath.h"
|
| #include "SkGeometry.h"
|
|
|
| -static bool quad_too_curvy(const SkPoint pts[3]) {
|
| - return true;
|
| -}
|
| -
|
| static int compute_int_quad_dist(const SkPoint pts[3]) {
|
| // compute the vector between the control point ([1]) and the middle of the
|
| // line connecting the start and end ([0] and [2])
|
| @@ -220,7 +216,7 @@
|
| void (*lineproc)(const SkPoint&, const SkPoint&, const SkRegion* clip, SkBlitter*))
|
| {
|
| #if 1
|
| - if (level > 0 && quad_too_curvy(pts))
|
| + if (level > 0)
|
| {
|
| SkPoint tmp[5];
|
|
|
| @@ -247,15 +243,10 @@
|
| #endif
|
| }
|
|
|
| -static bool cubic_too_curvy(const SkPoint pts[4])
|
| -{
|
| - return true;
|
| -}
|
| -
|
| static void haircubic(const SkPoint pts[4], const SkRegion* clip, SkBlitter* blitter, int level,
|
| void (*lineproc)(const SkPoint&, const SkPoint&, const SkRegion*, SkBlitter*))
|
| {
|
| - if (level > 0 && cubic_too_curvy(pts))
|
| + if (level > 0)
|
| {
|
| SkPoint tmp[7];
|
|
|
|
|