Home
last modified time | relevance | path

Searched refs:tan0 (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/core/
DSkGeometry.cpp218 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/
DGrPathUtils.cpp657 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/
DStrokeHardwareTessellator.cpp539 SkVector tan0 = junctionPoint - fLastControlPoint; in internalJoinTo() local
541 float rotation = SkMeasureAngleBetweenVectors(tan0, tan1); in internalJoinTo()
553 SkPoint bisector = SkFindBisector(tan0, tan1); in internalJoinTo()