Searched refs:tan0 (Results 1 – 7 of 7) sorted by relevance
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCFillGeometry.cpp | 119 static inline bool is_convex_curve_monotonic(const Sk2f& startPt, const Sk2f& tan0, in is_convex_curve_monotonic() argument 122 float dot0 = dot(tan0, v); in is_convex_curve_monotonic() 154 Sk2f tan0 = p1 - p0; in appendQuadratics() local 158 if (is_convex_curve_monotonic(p0, tan0, p2, tan1)) { in appendQuadratics() 165 Sk2f n = normalize(tan0) - normalize(tan1); in appendQuadratics() 178 Sk2f dQ1n = (tan0 - tan1) * n; in appendQuadratics() 179 Sk2f dQ0n = tan0 * n; in appendQuadratics() 183 Sk2f p01 = SkNx_fma(t, tan0, p0); in appendQuadratics() 220 const Sk2f& p3, Sk2f* tan0, Sk2f* tan1) { in get_cubic_tangents() argument 221 *tan0 = first_unless_nearly_zero(p1 - p0, p2 - p0); in get_cubic_tangents() [all …]
|
D | GrCCStrokeGeometry.cpp | 142 Sk2f tan0 = p1 - p0; in quadraticTo() local 147 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue() || // p0 ~= p1 in quadraticTo() 154 normalize2(tan0, tan1, normals); in quadraticTo() 177 leftTan = tan0; in quadraticTo() 259 Sk2f tan0 = p1 - p0; in cubicTo() local 263 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue()) { // p0 ~= p1 in cubicTo() 265 tan0 = p2 - p0; in cubicTo() 266 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue()) { // p0 ~= p1 ~= p2 in cubicTo() 282 normalize2(tan0, tan1, normals); in cubicTo() 307 leftTan = tan0; in cubicTo()
|
D | GrCCFillGeometry.h | 105 const Sk2f& p2, const Sk2f& p3, const Sk2f& tan0,
|
/third_party/boost/boost/geometry/srs/projections/proj/ |
D | lcca.hpp | 180 T s2p0, N0, R0, tan0; in setup_lcca() local 193 tan0 = tan(par.phi0); in setup_lcca() 194 proj_parm.r0 = N0 / tan0; in setup_lcca()
|
/third_party/skia/src/core/ |
D | SkGeometry.cpp | 218 SkVector tan0 = src[1] - src[0]; in SkFindQuadMidTangent() local 220 SkVector bisector = SkFindBisector(tan0, -tan1); in SkFindQuadMidTangent() 233 float T = sk_ieee_float_divide(tan0.dot(bisector), (tan0 - tan1).dot(bisector)); in SkFindQuadMidTangent() 612 SkVector tan0 = (src[0] == src[1]) ? src[2] - src[0] : src[1] - src[0]; in SkFindCubicMidTangent() local 614 SkVector bisector = SkFindBisector(tan0, -tan1); in SkFindCubicMidTangent() 650 coeffs = C_x * tan0.x() + C_y * tan0.y(); in SkFindCubicMidTangent() 1517 SkVector tan0 = fPts[1] - fPts[0]; in findMidTangent() local 1519 SkVector bisector = SkFindBisector(tan0, -tan1); in findMidTangent()
|
/third_party/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 657 float2 tan0 = skvx::if_then_else(C != 0, C, p2 - p0); in findCubicConvex180Chops() local 658 a = grvx::dot(tan0, A); in findCubicConvex180Chops() 659 b_over_minus_2 = -grvx::dot(tan0, B); in findCubicConvex180Chops() 660 c = grvx::dot(tan0, C); in findCubicConvex180Chops()
|
/third_party/skia/src/gpu/tessellate/ |
D | StrokeHardwareTessellator.cpp | 539 SkVector tan0 = junctionPoint - fLastControlPoint; in internalJoinTo() local 541 float rotation = SkMeasureAngleBetweenVectors(tan0, tan1); in internalJoinTo() 553 SkPoint bisector = SkFindBisector(tan0, tan1); in internalJoinTo()
|