9#ifndef SkEdgeClipper_DEFINED
10#define SkEdgeClipper_DEFINED
39 void (*consume)(
SkEdgeClipper*,
bool newCtr,
void* ctx),
void* ctx);
44 const bool fCanCullToTheRight;
57 void appendQuad(
const SkPoint pts[3],
bool reverse);
58 void appendCubic(
const SkPoint pts[4],
bool reverse);
65 #define sk_assert_monotonic_x(pts, count)
66 #define sk_assert_monotonic_y(pts, count)
#define sk_assert_monotonic_y(pts, count)
#define sk_assert_monotonic_x(pts, count)
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
bool canCullToTheRight() const
static void ClipPath(const SkPath &path, const SkRect &clip, bool canCullToTheRight, void(*consume)(SkEdgeClipper *, bool newCtr, void *ctx), void *ctx)
SkPath::Verb next(SkPoint pts[])
bool clipCubic(const SkPoint pts[4], const SkRect &clip)
bool clipLine(SkPoint p0, SkPoint p1, const SkRect &clip)
bool clipQuad(const SkPoint pts[3], const SkRect &clip)
SkEdgeClipper(bool canCullToTheRight)