Searched refs:cosV (Results 1 - 14 of 14) sorted by relevance

/external/skia/samplecode/
H A DSamplePathFill.cpp84 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
85 path->lineTo(c + cosV * r, c + sinV * r);
/external/skqp/samplecode/
H A DSamplePathFill.cpp84 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
85 path->lineTo(c + cosV * r, c + sinV * r);
/external/skia/gm/
H A Dhairlines.cpp152 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); variable
154 SkPoint p0 = SkPoint::Make(kRad * cosV, kRad * sinV);
156 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV);
158 SkPoint p1 = SkPoint::Make(kRad * cosV, kRad * sinV);
H A Dsmallpaths.cpp51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
52 path->lineTo(c + cosV * r, c + sinV * r);
H A Ddashing.cpp110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
111 path->lineTo(cosV, sinV);
H A Dpathfill.cpp121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
122 path->lineTo(c + cosV * r, c + sinV * r);
/external/skqp/gm/
H A Dhairlines.cpp152 SkScalar cosV, sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle), &cosV); variable
154 SkPoint p0 = SkPoint::Make(kRad * cosV, kRad * sinV);
156 sinV = SkScalarSinCos(SkDegreesToRadians(kStartAngle + kSweepAngle), &cosV);
158 SkPoint p1 = SkPoint::Make(kRad * cosV, kRad * sinV);
H A Dsmallpaths.cpp51 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
52 path->lineTo(c + cosV * r, c + sinV * r);
H A Ddashing.cpp110 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
111 path->lineTo(cosV, sinV);
H A Dpathfill.cpp121 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
122 path->lineTo(c + cosV * r, c + sinV * r);
/external/skia/bench/
H A DDashBench.cpp147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
148 path->lineTo(cosV, sinV);
/external/skqp/bench/
H A DDashBench.cpp147 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); local
148 path->lineTo(cosV, sinV);
/external/skia/src/core/
H A DSkMatrix.cpp428 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { argument
429 const SkScalar oneMinusCosV = 1 - cosV;
431 fMat[kMScaleX] = cosV;
436 fMat[kMScaleY] = cosV;
461 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { argument
462 fMat[kMScaleX] = cosV;
467 fMat[kMScaleY] = cosV;
477 SkScalar sinV, cosV; local
478 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV);
479 this->setSinCos(sinV, cosV, p
483 SkScalar sinV, cosV; local
[all...]
/external/skqp/src/core/
H A DSkMatrix.cpp427 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV, SkScalar px, SkScalar py) { argument
428 const SkScalar oneMinusCosV = 1 - cosV;
430 fMat[kMScaleX] = cosV;
435 fMat[kMScaleY] = cosV;
460 void SkMatrix::setSinCos(SkScalar sinV, SkScalar cosV) { argument
461 fMat[kMScaleX] = cosV;
466 fMat[kMScaleY] = cosV;
476 SkScalar sinV, cosV; local
477 sinV = SkScalarSinCos(SkDegreesToRadians(degrees), &cosV);
478 this->setSinCos(sinV, cosV, p
482 SkScalar sinV, cosV; local
[all...]

Completed in 372 milliseconds