Lines Matching defs:cusp
16 // This draws an animation where every cubic has a cusp, to test drawing a circle
17 // at the cusp point. Create a unit square. A cubic with its control points
18 // at the four corners crossing over itself has a cusp.
21 // Chop the cubic in two. One half of the cubic will have a cusp
22 // (unless it was chopped exactly at the cusp point).
25 // The odd parts don't appear related to the cusp code, but are old stroking
32 // Create a path with one or two cubics, where one has a cusp.
33 static SkPath cusp(const SkPoint P[4], SkPoint PP[7], bool& split, int speed, SkScalar phase) {
145 path = cusp(pts, pp, split, 8000, .125);
147 return false; // comment out to capture stream of cusp'd cubics in stdout