Home
last modified time | relevance | path

Searched refs:SkScalarATan2 (Results 1 – 20 of 20) sorted by relevance

/external/skia/docs/examples/
DMiter_Limit.cpp9 SkScalar angle1 = SkScalarATan2(v[0].fY, v[0].fX); in draw()
10 SkScalar angle2 = SkScalarATan2(v[1].fY, v[1].fX); in draw()
DPoint_length_2.cpp15 SkScalar angle = SkScalarATan2((point.fY - origin.fY), point.fX - origin.fX);
DPoint_distanceToOrigin.cpp16 SkScalar angle = SkScalarATan2((point.fY - origin.fY), point.fX - origin.fX);
DPoint_Length.cpp15 SkScalar angle = SkScalarATan2((point.fY - origin.fY), point.fX - origin.fX);
DPoint_Distance.cpp17 SkScalar angle = SkScalarATan2((b.fY - a.fY), b.fX - a.fX);
/external/skia/include/core/
DSkScalar.h49 #define SkScalarATan2(y, x) (float)sk_float_atan2(y,x) macro
/external/skqp/include/core/
DSkScalar.h49 #define SkScalarATan2(y, x) (float)sk_float_atan2(y,x) macro
/external/skqp/docs/
DSkPoint_Reference.bmh296 SkScalar angle = SkScalarATan2((point.fY - origin.fY), point.fX - origin.fX);
325 SkScalar angle = SkScalarATan2((point.fY - origin.fY), point.fX - origin.fX);
864 SkScalar angle = SkScalarATan2((point.fY - origin.fY), point.fX - origin.fX);
924 SkScalar angle = SkScalarATan2((b.fY - a.fY), b.fX - a.fX);
DSkPaint_Reference.bmh1210 SkScalar angle1 = SkScalarATan2(v[0].fY, v[0].fX);
1211 SkScalar angle2 = SkScalarATan2(v[1].fY, v[1].fX);
/external/skia/src/core/
DSkPathBuilder.cpp498 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
499 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
DSkPath.cpp1216 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
1217 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
/external/skqp/gm/
Dwacky_yuv_formats.cpp76 SkScalar startDeg = SkRadiansToDegrees(SkScalarATan2(startV.fY, startV.fX)); in add_arc()
77 SkScalar endDeg = SkRadiansToDegrees(SkScalarATan2(endV.fY, endV.fX)); in add_arc()
/external/skia/tools/debugger/
DDebugCanvas.cpp52 SkScalar angle = SkScalarATan2((b.fY - a.fY), b.fX - a.fX); in drawArrow()
/external/skia/gm/
Dwacky_yuv_formats.cpp245 SkScalar startDeg = SkRadiansToDegrees(SkScalarATan2(startV.fY, startV.fX)); in add_arc()
246 SkScalar endDeg = SkRadiansToDegrees(SkScalarATan2(endV.fY, endV.fX)); in add_arc()
/external/skqp/samplecode/
DSampleAAGeometry.cpp1066 SkScalar startAngle = SkScalarATan2(lastV.fX, -lastV.fY) * 180.f / SK_ScalarPI; in draw_bisect()
1067 SkScalar endAngle = SkScalarATan2(-nextV.fX, nextV.fY) * 180.f / SK_ScalarPI; in draw_bisect()
/external/skqp/src/utils/
DSkPolyUtils.cpp460 SkScalar theta = SkScalarATan2(rSin, rCos); in SkComputeRadialSteps()
/external/skia/src/utils/
DSkPolyUtils.cpp484 SkScalar theta = SkScalarATan2(rSin, rCos); in SkComputeRadialSteps()
/external/skqp/src/core/
DSkPath.cpp1467 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
1468 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.cpp1396 startAngle = SkScalarATan2(start.fY, start.fX); in ButtCapDashedCircleOp()
/external/skia/src/gpu/ops/
DGrOvalOpFactory.cpp1561 startAngle = SkScalarATan2(start.fY, start.fX); in ButtCapDashedCircleOp()