Lines Matching full:cubic
87 convert it into the cubic fitting the same curve. The new cubic
99 /** Set pt to the point on the src cubic specified by t. t must be
104 /** Given a src cubic bezier, chop it at the specified t value,
111 /** Given a src cubic bezier, chop it at the specified t == 1/2,
116 /** Given the 4 coefficients for a cubic bezier (either X or Y values), look
118 these extrema. If the cubic has no extrema betwee (0..1) exclusive, the
127 /** Given 4 points on a cubic bezier, chop it into 1, 2, 3 beziers such that
130 0 dst[0..3] is the original cubic
138 /** Given a cubic bezier, return 0, 1, or 2 t-values that represent the
143 /** Return 1 for no chop, or 2 for having chopped the cubic at its
151 /** Given a monotonic cubic bezier, determine whether an xray intersects the
152 cubic.
153 By definition the cubic is open at the starting point; in other
154 words, if pt.fY is equivalent to cubic[0].fY, and pt.fX is to the
156 but if it is equal to cubic[3].fY then it is considered to
159 bool SkXRayCrossesMonotonicCubic(const SkXRay& pt, const SkPoint cubic[4]);
161 /** Given an arbitrary cubic bezier, return the number of times an xray crosses
162 the cubic. Valid return values are [0..3]
163 By definition the cubic is open at the starting point; in other
164 words, if pt.fY is equivalent to cubic[0].fY, and pt.fX is to the
166 but if it is equal to cubic[3].fY then it is considered to
169 int SkNumXRayCrossingsForCubic(const SkXRay& pt, const SkPoint cubic[4]);