Home
last modified time | relevance | path

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

/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()
Dpathfill.cpp121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
122 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()
/external/skia/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()
Dpathfill.cpp121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
122 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()
/external/skia/samplecode/
DSamplePathFill.cpp84 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
85 path->lineTo(c + cosV * r, c + sinV * r); in make_star()
/external/skqp/samplecode/
DSamplePathFill.cpp84 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
85 path->lineTo(c + cosV * r, c + sinV * r); in make_star()
/external/skia/src/core/
DSkMatrix.cpp428 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { in setSinCos() argument
432 fMat[kMSkewX] = -sinV; in setSinCos()
433 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos()
435 fMat[kMSkewY] = sinV; in setSinCos()
437 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos()
461 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument
463 fMat[kMSkewX] = -sinV; in setSinCos()
466 fMat[kMSkewY] = sinV; in setSinCos()
477 SkScalar sinV, cosV; in setRotate() local
478 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
[all …]
/external/skqp/src/core/
DSkMatrix.cpp427 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { in setSinCos() argument
431 fMat[kMSkewX] = -sinV; in setSinCos()
432 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos()
434 fMat[kMSkewY] = sinV; in setSinCos()
436 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos()
460 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument
462 fMat[kMSkewX] = -sinV; in setSinCos()
465 fMat[kMSkewY] = sinV; in setSinCos()
476 SkScalar sinV, cosV; in setRotate() local
477 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
[all …]
/external/skqp/bench/
DDashBench.cpp147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
148 path->lineTo(cosV, sinV); in make_unit_star()
/external/skia/bench/
DDashBench.cpp147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
148 path->lineTo(cosV, sinV); in make_unit_star()