8#ifndef SkSGClipEffect_DEFINED
9#define SkSGClipEffect_DEFINED
24class InvalidationController;
33 bool aa =
false,
bool force_clip =
false) {
34 return (child &&
clip)
51 const bool fAntiAlias,
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
void onRender(SkCanvas *, const RenderContext *) const override
static sk_sp< ClipEffect > Make(sk_sp< RenderNode > child, sk_sp< GeometryNode > clip, bool aa=false, bool force_clip=false)
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
ClipEffect(sk_sp< RenderNode >, sk_sp< GeometryNode >, bool aa, bool force_clip)
const RenderNode * onNodeAt(const SkPoint &) const override
EffectNode(sk_sp< RenderNode >, uint32_t inval_traits=0)