/external/skia/gm/ |
D | hairlines.cpp | 154 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()
|
D | pathfill.cpp | 82 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local 83 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
|
D | dashing.cpp | 95 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/ |
D | hairlines.cpp | 154 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()
|
D | pathfill.cpp | 82 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_star() local 83 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
|
D | dashing.cpp | 95 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local 96 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/chromium_org/third_party/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/chromium_org/third_party/skia/src/core/ |
D | SkMatrix.cpp | 399 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/ |
D | SkMatrix.cpp | 399 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/ |
D | DashBench.cpp | 148 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local 149 path->lineTo(cosV, sinV); in make_unit_star()
|
/external/skia/bench/ |
D | DashBench.cpp | 148 SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); in make_unit_star() local 149 path->lineTo(cosV, sinV); in make_unit_star()
|