/external/skqp/bench/ |
D | PolyUtilsBench.cpp | 118 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in makePoly() local 119 *poly->push() = SkPoint::Make(c + cosV * r1, c + sinV * r1); in makePoly() 121 sinV = SkScalarSinCos(rad, &cosV); in makePoly() 122 *poly->push() = SkPoint::Make(c + cosV * r2, c + sinV * r2); in makePoly() 145 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in makePoly() local 146 *poly->push() = SkPoint::Make(c + cosV * r, c + sinV * r); in makePoly() 172 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in makePoly() local 173 *poly->push() = SkPoint::Make(c + cosV * r, c + sinV * r); in makePoly() 196 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in makePoly() local 197 *poly->push() = SkPoint::Make(c + cosV * r, c + sinV * r); in makePoly() [all …]
|
D | DashBench.cpp | 147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local 148 path->lineTo(cosV, sinV); in make_unit_star()
|
/external/angle/samples/torus_lighting/ |
D | torus.h | 46 float sinV = sinf(angleV); in GenerateTorus() local 55 float y = d * (-sinV); in GenerateTorus() 63 float ny = -sinV * cosU; in GenerateTorus()
|
/external/skqp/gm/ |
D | hairlines.cpp | 152 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); in onOnceBeforeDraw() local 154 SkPoint p0 = SkPoint::Make(kRad * cosV, kRad * sinV); in onOnceBeforeDraw() 156 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV); in onOnceBeforeDraw() 158 SkPoint p1 = SkPoint::Make(kRad * cosV, kRad * sinV); in onOnceBeforeDraw()
|
D | smallpaths.cpp | 51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local 52 path->lineTo(c + cosV * r, c + sinV * r); in make_star()
|
D | dashing.cpp | 110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local 111 path->lineTo(cosV, sinV); in make_unit_star()
|
D | pathfill.cpp | 121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local 122 path->lineTo(c + cosV * r, c + sinV * r); in make_star()
|
/external/skqp/samplecode/ |
D | SamplePathFill.cpp | 83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local 84 path->lineTo(c + cosV * r, c + sinV * r); in make_star()
|
/external/skia/modules/canvaskit/ |
D | matrix.js | 156 var sinV = Math.sin(radians); 159 cosV, -sinV, sdot( sinV, py, 1 - cosV, px), 160 sinV, cosV, sdot(-sinV, px, 1 - cosV, py),
|
/external/skqp/tests/ |
D | PolyUtilsTest.cpp | 204 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in DEF_TEST() local 205 *poly.push() = SkPoint::Make(c + cosV * r1, c + sinV * r1); in DEF_TEST() 207 sinV = SkScalarSinCos(rad, &cosV); in DEF_TEST() 208 *poly.push() = SkPoint::Make(c + cosV * r2, c + sinV * r2); in DEF_TEST()
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 429 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { in setSinCos() argument 433 fMat[kMSkewX] = -sinV; in setSinCos() 434 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos() 436 fMat[kMSkewY] = sinV; in setSinCos() 438 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos() 462 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument 464 fMat[kMSkewX] = -sinV; in setSinCos() 467 fMat[kMSkewY] = sinV; in setSinCos() 478 SkScalar sinV, cosV; in setRotate() local 479 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate() [all …]
|
/external/skqp/experimental/canvaskit/ |
D | interface.js | 90 var sinV = Math.sin(radians); 93 cosV, -sinV, sdot( sinV, py, 1 - cosV, px), 94 sinV, cosV, sdot(-sinV, px, 1 - cosV, py),
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 411 SkMatrix& SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { in setSinCos() argument 415 fMat[kMSkewX] = -sinV; in setSinCos() 416 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos() 418 fMat[kMSkewY] = sinV; in setSinCos() 420 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos() 445 SkMatrix& SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument 447 fMat[kMSkewX] = -sinV; in setSinCos() 450 fMat[kMSkewY] = sinV; in setSinCos()
|