Home
last modified time | relevance | path

Searched refs:sinV (Results 1 – 13 of 13) sorted by relevance

/external/skqp/bench/
DPolyUtilsBench.cpp118 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 …]
DDashBench.cpp147 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/
Dtorus.h46 float sinV = sinf(angleV); in GenerateTorus() local
55 float y = d * (-sinV); in GenerateTorus()
63 float ny = -sinV * cosU; in GenerateTorus()
/external/skqp/gm/
Dhairlines.cpp152 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()
Dsmallpaths.cpp51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
52 path->lineTo(c + cosV * r, c + sinV * r); in make_star()
Ddashing.cpp110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
111 path->lineTo(cosV, sinV); in make_unit_star()
Dpathfill.cpp121 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/
DSamplePathFill.cpp83 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/
Dmatrix.js156 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/
DPolyUtilsTest.cpp204 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/
DSkMatrix.cpp429 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/
Dinterface.js90 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/
DSkMatrix.cpp411 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()