Lines Matching defs:plane
3695 // length of initial plane normal is zero
3724 // check whether the diagonal aligned with the normal crosses the plane
3743 // the path is either all on one side of the half-plane or the other
3754 // assumes plane is pre-normalized
3756 static SkPath clip(const SkPath& path, const SkHalfPlane& plane) {
3758 SkPoint p0 = { -plane.fA*plane.fC, -plane.fB*plane.fC };
3759 mx.setAll( plane.fB, plane.fA, p0.fX,
3760 -plane.fA, plane.fB, p0.fY,
3831 SkHalfPlane plane {
3836 if (plane.normalize()) {
3837 switch (plane.test(path.getBounds())) {
3841 *clippedPath = clip(path, plane);