Searched refs:cosV (Results 1 – 7 of 7) sorted by relevance
/external/skia/gm/ |
D | hairlines.cpp | 152 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()
|
D | pathfill.cpp | 83 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local 84 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
|
D | smallpaths.cpp | 51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local 52 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
|
D | dashing.cpp | 109 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local 110 path->lineTo(cosV, sinV); in make_unit_star()
|
/external/skia/samplecode/ |
D | SamplePathFill.cpp | 85 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/ |
D | SkMatrix.cpp | 437 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/ |
D | DashBench.cpp | 149 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local 150 path->lineTo(cosV, sinV); in make_unit_star()
|