Searched refs:invPath (Results 1 – 2 of 2) sorted by relevance
906 SkPath invPath; in test_clip_bound_opt() local907 invPath.addOval(rect1); in test_clip_bound_opt()908 invPath.setFillType(SkPath::kInverseEvenOdd_FillType); in test_clip_bound_opt()919 canvas->clipPath(invPath, SkRegion::kIntersect_Op); in test_clip_bound_opt()930 canvas->clipPath(invPath, SkRegion::kIntersect_Op); in test_clip_bound_opt()941 canvas->clipPath(invPath, SkRegion::kUnion_Op); in test_clip_bound_opt()
341 static bool calculate_inverse_path(const SkRect& bounds, const SkPath& invPath, in calculate_inverse_path() argument343 SkASSERT(invPath.isInverseFillType()); in calculate_inverse_path()348 return Op(clipPath, invPath, kIntersect_PathOp, outPath); in calculate_inverse_path()