Lines Matching refs:SkScalar
20 SkScalar fWeight;
67 SkDPoint conicTop(const SkPoint curve[3], SkScalar curveWeight,
69 SkDPoint cubicTop(const SkPoint curve[4], SkScalar , double s, double e, double* topT);
71 SkDPoint lineTop(const SkPoint[2], SkScalar , double , double , double* topT);
72 SkDPoint quadTop(const SkPoint curve[3], SkScalar , double s, double e, double* topT);
74 void setConicBounds(const SkPoint curve[3], SkScalar curveWeight,
76 void setCubicBounds(const SkPoint curve[4], SkScalar ,
78 void setQuadBounds(const SkPoint curve[3], SkScalar ,
83 extern SkDPoint (SkDCurve::* const Top[])(const SkPoint curve[], SkScalar cWeight,
86 static SkDPoint dline_xy_at_t(const SkPoint a[2], SkScalar , double t) { in dline_xy_at_t() argument
92 static SkDPoint dquad_xy_at_t(const SkPoint a[3], SkScalar , double t) { in dquad_xy_at_t() argument
98 static SkDPoint dconic_xy_at_t(const SkPoint a[3], SkScalar weight, double t) { in dconic_xy_at_t()
104 static SkDPoint dcubic_xy_at_t(const SkPoint a[4], SkScalar , double t) { in dcubic_xy_at_t() argument
110 static SkDPoint (* const CurveDPointAtT[])(const SkPoint[], SkScalar , double ) = {
118 static SkPoint fline_xy_at_t(const SkPoint a[2], SkScalar weight, double t) { in fline_xy_at_t()
122 static SkPoint fquad_xy_at_t(const SkPoint a[3], SkScalar weight, double t) { in fquad_xy_at_t()
126 static SkPoint fconic_xy_at_t(const SkPoint a[3], SkScalar weight, double t) { in fconic_xy_at_t()
130 static SkPoint fcubic_xy_at_t(const SkPoint a[4], SkScalar weight, double t) { in fcubic_xy_at_t()
134 static SkPoint (* const CurvePointAtT[])(const SkPoint[], SkScalar , double ) = {
142 static SkDVector dline_dxdy_at_t(const SkPoint a[2], SkScalar , double ) { in dline_dxdy_at_t() argument
148 static SkDVector dquad_dxdy_at_t(const SkPoint a[3], SkScalar , double t) { in dquad_dxdy_at_t() argument
154 static SkDVector dconic_dxdy_at_t(const SkPoint a[3], SkScalar weight, double t) { in dconic_dxdy_at_t()
160 static SkDVector dcubic_dxdy_at_t(const SkPoint a[4], SkScalar , double t) { in dcubic_dxdy_at_t() argument
166 static SkDVector (* const CurveDSlopeAtT[])(const SkPoint[], SkScalar , double ) = {
174 static SkVector fline_dxdy_at_t(const SkPoint a[2], SkScalar , double ) { in fline_dxdy_at_t() argument
178 static SkVector fquad_dxdy_at_t(const SkPoint a[3], SkScalar weight, double t) { in fquad_dxdy_at_t()
182 static SkVector fconic_dxdy_at_t(const SkPoint a[3], SkScalar weight, double t) { in fconic_dxdy_at_t()
186 static SkVector fcubic_dxdy_at_t(const SkPoint a[4], SkScalar weight, double t) { in fcubic_dxdy_at_t()
190 static SkVector (* const CurveSlopeAtT[])(const SkPoint[], SkScalar , double ) = {
198 static bool line_is_vertical(const SkPoint a[2], SkScalar , double startT, double endT) { in line_is_vertical() argument
205 static bool quad_is_vertical(const SkPoint a[3], SkScalar , double startT, double endT) { in quad_is_vertical() argument
212 static bool conic_is_vertical(const SkPoint a[3], SkScalar weight, double startT, double endT) { in conic_is_vertical()
219 static bool cubic_is_vertical(const SkPoint a[4], SkScalar , double startT, double endT) { in cubic_is_vertical() argument
227 static bool (* const CurveIsVertical[])(const SkPoint[], SkScalar , double , double) = {
235 static void line_intersect_ray(const SkPoint a[2], SkScalar , const SkDLine& ray, in line_intersect_ray() argument
242 static void quad_intersect_ray(const SkPoint a[3], SkScalar , const SkDLine& ray, in quad_intersect_ray() argument
249 static void conic_intersect_ray(const SkPoint a[3], SkScalar weight, const SkDLine& ray, in conic_intersect_ray()
256 static void cubic_intersect_ray(const SkPoint a[4], SkScalar , const SkDLine& ray, in cubic_intersect_ray() argument
263 static void (* const CurveIntersectRay[])(const SkPoint[] , SkScalar , const SkDLine& ,
272 static int line_intercept_h(const SkPoint a[2], SkScalar , SkScalar y, double* roots) { in line_intercept_h() argument
278 static int line_intercept_v(const SkPoint a[2], SkScalar , SkScalar x, double* roots) { in line_intercept_v() argument
284 static int quad_intercept_h(const SkPoint a[2], SkScalar , SkScalar y, double* roots) { in quad_intercept_h() argument
289 static int quad_intercept_v(const SkPoint a[2], SkScalar , SkScalar x, double* roots) { in quad_intercept_v() argument
294 static int conic_intercept_h(const SkPoint a[2], SkScalar w, SkScalar y, double* roots) { in conic_intercept_h()
299 static int conic_intercept_v(const SkPoint a[2], SkScalar w, SkScalar x, double* roots) { in conic_intercept_v()
304 static int cubic_intercept_h(const SkPoint a[3], SkScalar , SkScalar y, double* roots) { in cubic_intercept_h() argument
309 static int cubic_intercept_v(const SkPoint a[3], SkScalar , SkScalar x, double* roots) { in cubic_intercept_v() argument
314 static int (* const CurveIntercept[])(const SkPoint[] , SkScalar , SkScalar , double* ) = {