/external/skia/bench/ |
D | PolyUtilsBench.cpp | 130 *poly->append() = SkPoint::Make(c + SkScalarCos(rad) * r1, c + SkScalarSin(rad) * r1); in makePoly() 132 *poly->append() = SkPoint::Make(c + SkScalarCos(rad) * r2, c + SkScalarSin(rad) * r2); in makePoly() 155 *poly->append() = SkPoint::Make(c + SkScalarCos(rad) * r, c + SkScalarSin(rad) * r); in makePoly() 181 *poly->append() = SkPoint::Make(c + SkScalarCos(rad) * r, c + SkScalarSin(rad) * r); in makePoly() 204 *poly->append() = SkPoint::Make(c + SkScalarCos(rad) * r, c + SkScalarSin(rad) * r); in makePoly() 229 *poly->append() = SkPoint::Make(c + SkScalarCos(rad) * r, c + SkScalarSin(rad) * r); in makePoly()
|
D | LightingBench.cpp | 41 SkScalarCos(azimuthRad) * SkScalarCos(elevationRad), in GetDistantDirection() 42 SkScalarSin(azimuthRad) * SkScalarCos(elevationRad), in GetDistantDirection()
|
/external/skia/docs/examples/ |
D | SkPath_arcto_conic_parametric.cpp | 44 SkPoint p0 = {r * SkScalarCos(SkDegreesToRadians(startAngle)), in draw() 47 SkPoint p1 = {d * SkScalarCos(SkDegreesToRadians(middleAngle)), in draw() 49 SkPoint p2 = {r * SkScalarCos(SkDegreesToRadians(finalAngle)), in draw()
|
D | SkPath_arcto_conic_parametric2.cpp | 62 SkPoint p0 = {r * SkScalarCos(SkDegreesToRadians(startAngle)), in draw() 65 SkPoint p1 = {d * SkScalarCos(SkDegreesToRadians(middleAngle)), in draw() 67 SkPoint p2 = {r * SkScalarCos(SkDegreesToRadians(finalAngle)), in draw()
|
D | Path_rCubicTo.cpp | 14 sy = SkScalarCos(i * SK_ScalarPI / 8); in draw()
|
D | Path_incReserve.cpp | 11 path->lineTo(SkScalarCos(rad) * size, SkScalarSin(rad) * size); in draw()
|
D | Canvas_drawTextRSXform.cpp | 14 const SkScalar c = SkScalarCos(angle) * scale; in draw()
|
/external/skia/tests/ |
D | TracingTest.cpp | 140 TRACE_COUNTER1("skia", "cos", SkScalarCos(rad) * 1000.0f + 1000.0f); in test_trace_counters() 154 "cos", SkScalarCos(rad) * 1000.0f + 1000.0f); in test_trace_counters()
|
/external/skia/gm/ |
D | strokedlines.cpp | 45 cos = SkScalarCos(angle + (SK_ScalarPI/4)); in draw_fins() 56 cos = SkScalarCos(angle - (SK_ScalarPI/4)); in draw_fins() 74 cos = SkScalarCos(angle); in draw_snowflake()
|
D | lighting.cpp | 72 cosAzimuth = SkScalarCos(SkDegreesToRadians(fAzimuth)); in onDraw() 88 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw() 89 sinAzimuth * SkScalarCos(elevationRad), in onDraw()
|
D | hairlines.cpp | 42 SkScalar x = kRadius * SkScalarCos(angle); in onOnceBeforeDraw() 130 SkPoint p0 = { kRad * SkScalarCos(SkDegreesToRadians(kStartAngle)), in onOnceBeforeDraw() 133 SkPoint p1 = { kRad * SkScalarCos(SkDegreesToRadians(kStartAngle + kSweepAngle)), in onOnceBeforeDraw()
|
D | crbug_1086705.cpp | 26 circleVertices[i] = {100.f + 2.f * SkScalarCos(angleRads),
|
D | convexpolyeffect.cpp | 71 SkPoint point = { SkScalarCos(angle), SkScalarSin(angle) }; in onOnceBeforeDraw()
|
D | stringart.cpp | 55 SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX, in onDraw()
|
D | hairmodes.cpp | 61 SkScalar x = SkScalarCos(SkIntToScalar(angle) * (SK_ScalarPI * 2) / 24) * gWidth; in drawCell()
|
D | aaa.cpp | 106 builder.lineTo(C + R * SkScalarCos(a), C + R * SkScalarSin(a)); in DEF_SIMPLE_GM()
|
D | sharedcorners.cpp | 102 pts.push_back({SkScalarCos(theta), SkScalarSin(theta)}); in onDraw()
|
D | polygons.cpp | 58 p4[i].set(20 * SkScalarCos(angle) + 20, 20 * SkScalarSin(angle) + 20); in onOnceBeforeDraw()
|
/external/skia/include/core/ |
D | SkScalar.h | 44 #define SkScalarCos(radians) (float)sk_float_cos(radians) macro 133 float v = SkScalarCos(radians); in SkScalarCosSnapToZero()
|
D | SkRSXform.h | 36 const SkScalar c = SkScalarCos(radians) * scale; in MakeFromRadians()
|
/external/skia/tools/viewer/ |
D | MegaStrokeSlide.cpp | 50 SkScalar y = SkScalarCos(fAngle * SK_ScalarPI / 180) * 200 + 250; in draw()
|
D | StringArtSlide.cpp | 38 SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX, in draw()
|
/external/skia/modules/skottie/src/effects/ |
D | DropShadowEffect.cpp | 61 fDropShadow->setOffset(SkVector::Make( fDistance * SkScalarCos(rad), in onSync()
|
D | ShadowStyles.cpp | 48 const auto offset = SkV2{ fDistance * SkScalarCos(rad), in onSync()
|
/external/skia/modules/svg/src/ |
D | SkSVGFeColorMatrix.cpp | 58 const SkSVGNumberType c = SkScalarCos(theta); in MakeHueRotate()
|