/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 | 45 float cosV = cosf(angleV); in GenerateTorus() local 54 float x = d * cosV; in GenerateTorus() 62 float nx = cosV * 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/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/skia/modules/canvaskit/ |
D | matrix.js | 157 var cosV = Math.cos(radians); 159 cosV, -sinV, sdot( sinV, py, 1 - cosV, px), 160 sinV, cosV, sdot(-sinV, px, 1 - cosV, py),
|
/external/skqp/experimental/canvaskit/ |
D | interface.js | 91 var cosV = Math.cos(radians); 93 cosV, -sinV, sdot( sinV, py, 1 - cosV, px), 94 sinV, cosV, sdot(-sinV, px, 1 - cosV, py),
|
/external/skqp/src/core/ |
D | SkMatrix.cpp | 429 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { in setSinCos() argument 430 const SkScalar oneMinusCosV = 1 - cosV; in setSinCos() 432 fMat[kMScaleX] = cosV; in setSinCos() 437 fMat[kMScaleY] = cosV; in setSinCos() 462 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument 463 fMat[kMScaleX] = cosV; in setSinCos() 468 fMat[kMScaleY] = cosV; in setSinCos() 478 SkScalar sinV, cosV; in setRotate() local 479 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate() 480 this->setSinCos(sinV, cosV, px, py); in setRotate() [all …]
|
/external/skia/src/core/ |
D | SkMatrix.cpp | 411 SkMatrix& SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { in setSinCos() argument 412 const SkScalar oneMinusCosV = 1 - cosV; in setSinCos() 414 fMat[kMScaleX] = cosV; in setSinCos() 419 fMat[kMScaleY] = cosV; in setSinCos() 445 SkMatrix& SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument 446 fMat[kMScaleX] = cosV; in setSinCos() 451 fMat[kMScaleY] = cosV; in setSinCos()
|