Home
last modified time | relevance | path

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

/external/skia/gm/
Dhairlines.cpp154 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); in onOnceBeforeDraw() local
156 SkPoint p0 = SkPoint::Make(kRad * cosV, kRad * sinV); in onOnceBeforeDraw()
158 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV); in onOnceBeforeDraw()
160 SkPoint p1 = SkPoint::Make(kRad * cosV, kRad * sinV); in onOnceBeforeDraw()
Dpathfill.cpp82 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
83 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
Ddashing.cpp95 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
96 path->lineTo(cosV, sinV); in make_unit_star()
/external/chromium_org/third_party/skia/gm/
Dhairlines.cpp154 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); in onOnceBeforeDraw() local
156 SkPoint p0 = SkPoint::Make(kRad * cosV, kRad * sinV); in onOnceBeforeDraw()
158 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV); in onOnceBeforeDraw()
160 SkPoint p1 = SkPoint::Make(kRad * cosV, kRad * sinV); in onOnceBeforeDraw()
Dpathfill.cpp82 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
83 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
Ddashing.cpp95 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
96 path->lineTo(cosV, sinV); in make_unit_star()
/external/skia/samplecode/
DSamplePathFill.cpp85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
86 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
/external/chromium_org/third_party/skia/samplecode/
DSamplePathFill.cpp85 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
86 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
/external/chromium_org/third_party/skia/src/core/
DSkMatrix.cpp399 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, in setSinCos() argument
404 fMat[kMSkewX] = -sinV; in setSinCos()
405 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos()
407 fMat[kMSkewY] = sinV; in setSinCos()
409 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos()
417 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument
419 fMat[kMSkewX] = -sinV; in setSinCos()
422 fMat[kMSkewY] = sinV; in setSinCos()
433 SkScalar sinV, cosV; in setRotate() local
434 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
[all …]
/external/skia/src/core/
DSkMatrix.cpp399 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, in setSinCos() argument
404 fMat[kMSkewX] = -sinV; in setSinCos()
405 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos()
407 fMat[kMSkewY] = sinV; in setSinCos()
409 fMat[kMTransY] = sdot(-sinV, px, oneMinusCosV, py); in setSinCos()
417 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument
419 fMat[kMSkewX] = -sinV; in setSinCos()
422 fMat[kMSkewY] = sinV; in setSinCos()
433 SkScalar sinV, cosV; in setRotate() local
434 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
[all …]
/external/chromium_org/third_party/skia/bench/
DDashBench.cpp148 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
149 path->lineTo(cosV, sinV); in make_unit_star()
/external/skia/bench/
DDashBench.cpp148 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
149 path->lineTo(cosV, sinV); in make_unit_star()