8#ifndef SkAnalyticEdge_DEFINED
9#define SkAnalyticEdge_DEFINED
53 return ((
unsigned)
y + (
SK_Fixed1 >> (accuracy + 1))) >> (16 - accuracy) << (16 - accuracy);
84 SkDebugf(
"edge: upperY:%d lowerY:%d y:%g x:%g dx:%g w:%d\n",
89 void validate()
const {
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
#define SkFixedToFloat(x)
static SkFixed SkFixedMul(SkFixed a, SkFixed b)
static int32_t SkAbs32(int32_t value)
static void dump(const float m[20], SkYUVColorSpace cs, bool rgb2yuv)
bool updateCubic(bool sortY=true)
bool setCubic(const SkPoint pts[4], bool sortY=true)
void goY(SkFixed y, int yShift)
static const int kDefaultAccuracy
bool updateLine(SkFixed ax, SkFixed ay, SkFixed bx, SkFixed by, SkFixed slope)
bool update(SkFixed last_y, bool sortY=true)
bool setLine(const SkPoint &p0, const SkPoint &p1)
static SkFixed SnapY(SkFixed y)
bool setQuadratic(const SkPoint pts[3])