Home
last modified time | relevance | path

Searched refs:cosV (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.cpp108 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
109 path->lineTo(cosV, sinV); in make_unit_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/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/skia/src/core/
DSkMatrix.cpp399 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, in setSinCos() argument
401 const SkScalar oneMinusCosV = 1 - cosV; in setSinCos()
403 fMat[kMScaleX] = cosV; in setSinCos()
408 fMat[kMScaleY] = cosV; in setSinCos()
417 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument
418 fMat[kMScaleX] = cosV; in setSinCos()
423 fMat[kMScaleY] = cosV; in setSinCos()
433 SkScalar sinV, cosV; in setRotate() local
434 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
435 this->setSinCos(sinV, cosV, px, py); in setRotate()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkMatrix.cpp393 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, in setSinCos() argument
395 const SkScalar oneMinusCosV = 1 - cosV; in setSinCos()
397 fMat[kMScaleX] = cosV; in setSinCos()
402 fMat[kMScaleY] = cosV; in setSinCos()
411 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument
412 fMat[kMScaleX] = cosV; in setSinCos()
417 fMat[kMScaleY] = cosV; in setSinCos()
427 SkScalar sinV, cosV; in setRotate() local
428 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
429 this->setSinCos(sinV, cosV, px, py); 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()