Home
last modified time | relevance | path

Searched refs:cosV (Results 1 – 7 of 7) sorted by relevance

/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()
Dpathfill.cpp83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
84 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
Dsmallpaths.cpp51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local
52 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
Ddashing.cpp109 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
110 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/skia/src/core/
DSkMatrix.cpp437 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { in setSinCos() argument
438 const SkScalar oneMinusCosV = 1 - cosV; in setSinCos()
440 fMat[kMScaleX] = cosV; in setSinCos()
445 fMat[kMScaleY] = cosV; in setSinCos()
470 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { in setSinCos() argument
471 fMat[kMScaleX] = cosV; in setSinCos()
476 fMat[kMScaleY] = cosV; in setSinCos()
486 SkScalar sinV, cosV; in setRotate() local
487 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV); in setRotate()
488 this->setSinCos(sinV, cosV, px, py); in setRotate()
[all …]
/external/skia/bench/
DDashBench.cpp149 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local
150 path->lineTo(cosV, sinV); in make_unit_star()